fix: Unmarshal needs a pointer to config
This commit is contained in:
parent
0125fb4d01
commit
4f094eab2c
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue