diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-04 03:18:31 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-04 03:18:31 +0000 |
commit | f21f496c3c7067bd13dc9e2771a5561dd5c28f5d (patch) | |
tree | 865c241923bbdbb27a95c1860eb806f0b8efe394 | |
parent | 032ce43dd55ea095a48020fcd53b5633daa56f31 (diff) | |
download | communique-f21f496c3c7067bd13dc9e2771a5561dd5c28f5d.tar.gz |
fix nil
Diffstat (limited to '')
-rw-r--r-- | registry/registry.go | 2 |
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} |