summaryrefslogtreecommitdiffstats
path: root/plugin/hooks.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/hooks.go')
-rw-r--r--plugin/hooks.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/hooks.go b/plugin/hooks.go
index 4af177c0d..b5cff6f6b 100644
--- a/plugin/hooks.go
+++ b/plugin/hooks.go
@@ -55,7 +55,9 @@ type Hooks interface {
// will stop receiving hooks just prior to this method being called.
OnDeactivate() error
- // OnConfigurationChange is invoked when configuration changes may have been made.
+ // OnConfigurationChange is invoked when configuration changes may have been made. Any
+ // returned error is logged, but does not stop the plugin. You must be prepared to handle
+ // a configuration failure gracefully.
OnConfigurationChange() error
// ServeHTTP allows the plugin to implement the http.Handler interface. Requests destined for