fix: namespace config under protocol

This commit is contained in:
Derrick Hammer 2024-01-11 23:32:31 -05:00
parent 8917be5077
commit c7af6286ad
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ func (s *S5Protocol) Initialize(config *viper.Viper, logger *zap.Logger) error {
HTTP: s5config.HTTPConfig{}, HTTP: s5config.HTTPConfig{},
} }
pconfig := config.Sub("s5") pconfig := config.Sub("protocol.s5")
if pconfig != nil { if pconfig != nil {
err := pconfig.Unmarshal(cfg) err := pconfig.Unmarshal(cfg)