fix: need to squash embedded config
This commit is contained in:
parent
d5c0157fd8
commit
5dfedeb66a
|
@ -8,7 +8,7 @@ import (
|
|||
var _ config.ProtocolConfig = (*Config)(nil)
|
||||
|
||||
type Config struct {
|
||||
*s5config.NodeConfig
|
||||
*s5config.NodeConfig `mapstructure:",squash"`
|
||||
DbPath string `mapstructure:"db_path"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue