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/reload/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/reload/config.go') diff --git a/plugins/reload/config.go b/plugins/reload/config.go index 9ca2c0dc..9bce6b25 100644 --- a/plugins/reload/config.go +++ b/plugins/reload/config.go @@ -43,7 +43,7 @@ func InitDefaults(c *Config) { // Valid validates the configuration. func (c *Config) Valid() error { - const op = errors.Op("config validation [reload plugin]") + const op = errors.Op("reload_plugin_valid") if c.Interval < time.Second { return errors.E(op, errors.Str("too short interval")) } -- cgit v1.2.3