From aff4d2c7a92ae014988b27b27069b15a971b6c36 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Fri, 15 Jan 2021 00:29:23 +0300 Subject: Viper doesn't support `yaml` structure tags, it uses mapstructure instead --- plugins/kv/boltdb/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/kv') diff --git a/plugins/kv/boltdb/config.go b/plugins/kv/boltdb/config.go index b2e1e636..ea0e3375 100644 --- a/plugins/kv/boltdb/config.go +++ b/plugins/kv/boltdb/config.go @@ -11,7 +11,7 @@ type Config struct { // db file permissions Permissions int // timeout - Interval uint `yaml:"interval"` + Interval uint `mapstructure:"interval"` } // InitDefaults initializes default values for the boltdb -- cgit v1.2.3