diff options
author | Valery Piashchynski <[email protected]> | 2021-01-15 00:52:09 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-15 00:52:09 +0300 |
commit | 83e510d734815968a998fa8e4c14ac0900b9c485 (patch) | |
tree | 50dc6e22db7ff51b0fcf3cce0a45b7b739e1f300 /plugins/kv/boltdb/config.go | |
parent | 7542ae2d4c392290766405d31996378378aad975 (diff) | |
parent | d4a067d1fdc4911cb5467620da981fca3dc4cc08 (diff) |
Merge pull request #476 from spiral/fix/use_mapstructure_instead_yaml_tagsv2.0.0-beta7
fix(yaml): Use mapstructure structure tags instead of yaml
Diffstat (limited to 'plugins/kv/boltdb/config.go')
-rw-r--r-- | plugins/kv/boltdb/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |