aboutsummaryrefslogtreecommitdiff
path: root/registry/registry.go
diff options
context:
space:
mode:
Diffstat (limited to 'registry/registry.go')
-rw-r--r--registry/registry.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/registry.go b/registry/registry.go
index 50986c9..9cb3219 100644
--- a/registry/registry.go
+++ b/registry/registry.go
@@ -35,7 +35,7 @@ type Registry struct {
}
func NewRegistry(cfg config.Config, persister *models.Persister, log *zap.SugaredLogger) (*Registry, error) {
- reg := Registry{cfg: cfg, persister: persister}
+ reg := Registry{cfg: cfg, persister: persister, log: log}
reg.handlerMap = make(map[string]Handler)
for _, v := range cfg.Handlers {
reg.handlerMap[v.Name] = Handler{handlerCfg: v}