fix handler setup
This commit is contained in:
1 parent
d1eced609c
commit
3a6fae5bf2
1 file changed
+1
-1
+1
-1
@@ -23,7 +23,7 @@ type RingHandler struct {
|
||||
}
|
||||
|
||||
func NewRingHandler(lg *zap.Logger, cfg *common.ConfigRing) (*RingHandler, error) {
|
||||
spl, err := sonos.NewSonosHandler(lg.With(zap.String("context", "sonos")), cfg.SonosTarget)
|
||||
spl, err := sonos.NewSonosHandler(lg.With(zap.String("context", "sonos")), cfg)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user