From 5dfedeb66abbcd4b01e8a12e31c6bc50714d1317 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 27 Feb 2024 03:18:02 -0500 Subject: [PATCH] fix: need to squash embedded config --- protocols/s5/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocols/s5/config.go b/protocols/s5/config.go index 6cb5f33..4397e2f 100644 --- a/protocols/s5/config.go +++ b/protocols/s5/config.go @@ -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{} {