From 26f9d35e18ef79d79a5609c6c68f1b6ad38c7aed Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Tue, 19 Jan 2021 16:47:15 +0300 Subject: Uniform all errors operations Add new ExecTTL event Update tests Signed-off-by: Valery Piashchynski --- plugins/headers/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/headers') diff --git a/plugins/headers/plugin.go b/plugins/headers/plugin.go index f1c6e6f3..3f25a1ed 100644 --- a/plugins/headers/plugin.go +++ b/plugins/headers/plugin.go @@ -21,7 +21,7 @@ type Plugin struct { // Init must return configure service and return true if service hasStatus enabled. Must return error in case of // misconfiguration. Services must not be used without proper configuration pushed first. func (s *Plugin) Init(cfg config.Configurer) error { - const op = errors.Op("headers plugin init") + const op = errors.Op("headers_plugin_init") err := cfg.UnmarshalKey(RootPluginName, &s.cfg) if err != nil { return errors.E(op, errors.Disabled, err) -- cgit v1.2.3