From c7af6286adee36ae203253287f3396854410dbb5 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 11 Jan 2024 23:32:31 -0500 Subject: [PATCH] fix: namespace config under protocol --- protocols/s5.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/s5.go b/protocols/s5.go index b28f81b..4839dec 100644 --- a/protocols/s5.go +++ b/protocols/s5.go @@ -36,7 +36,7 @@ func (s *S5Protocol) Initialize(config *viper.Viper, logger *zap.Logger) error { HTTP: s5config.HTTPConfig{}, } - pconfig := config.Sub("s5") + pconfig := config.Sub("protocol.s5") if pconfig != nil { err := pconfig.Unmarshal(cfg)