summaryrefslogtreecommitdiff
path: root/plugins/kv/boltdb/config.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-15 00:52:09 +0300
committerGitHub <[email protected]>2021-01-15 00:52:09 +0300
commit83e510d734815968a998fa8e4c14ac0900b9c485 (patch)
tree50dc6e22db7ff51b0fcf3cce0a45b7b739e1f300 /plugins/kv/boltdb/config.go
parent7542ae2d4c392290766405d31996378378aad975 (diff)
parentd4a067d1fdc4911cb5467620da981fca3dc4cc08 (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.go2
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