From 402491b7e52c4d836c1274976cdb387852cfd17b Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 11 Sep 2017 10:02:02 -0500 Subject: PLT-7407: Back-end plugins (#7409) * tie back-end plugins together * fix comment typo * add tests and a bit of polish * tests and polish * add test, don't let backend executable paths escape the plugin directory --- plugin/plugintest/hooks.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugin/plugintest') diff --git a/plugin/plugintest/hooks.go b/plugin/plugintest/hooks.go index b0053a1ad..721a709ea 100644 --- a/plugin/plugintest/hooks.go +++ b/plugin/plugintest/hooks.go @@ -22,6 +22,10 @@ func (m *Hooks) OnDeactivate() error { return m.Called().Error(0) } +func (m *Hooks) OnConfigurationChange() error { + return m.Called().Error(0) +} + func (m *Hooks) ServeHTTP(w http.ResponseWriter, r *http.Request) { m.Called(w, r) } -- cgit v1.2.3-1-g7c22