fix: Unmarshal needs a pointer to config

This commit is contained in:
Derrick Hammer 2024-02-22 03:17:27 -05:00
parent 0125fb4d01
commit 4f094eab2c
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ func NewManager(logger *zap.Logger) (*Manager, error) {
return nil, err
}
err = v.Unmarshal(config)
err = v.Unmarshal(&config)
if err != nil {
return nil, err
}