fix: need to squash embedded config

This commit is contained in:
Derrick Hammer 2024-02-27 03:18:02 -05:00
parent d5c0157fd8
commit 5dfedeb66a
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -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{} {