summaryrefslogtreecommitdiff
path: root/plugins/static/config.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-19 16:47:15 +0300
committerValery Piashchynski <[email protected]>2021-01-19 16:47:15 +0300
commit26f9d35e18ef79d79a5609c6c68f1b6ad38c7aed (patch)
treedd6224660ffd0dcefe2332807203ee1eaf6697b4 /plugins/static/config.go
parent75ebbaac89ce8ebc3ab8de47b16e137844cfcd8a (diff)
Uniform all errors operations
Add new ExecTTL event Update tests Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/static/config.go')
-rw-r--r--plugins/static/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/static/config.go b/plugins/static/config.go
index f5d26b2d..17a82cfd 100644
--- a/plugins/static/config.go
+++ b/plugins/static/config.go
@@ -32,7 +32,7 @@ type Config struct {
// Valid returns nil if config is valid.
func (c *Config) Valid() error {
- const op = errors.Op("static plugin validation")
+ const op = errors.Op("static_plugin_valid")
st, err := os.Stat(c.Static.Dir)
if err != nil {
if os.IsNotExist(err) {