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