From 17815429646fcafdf1f350594a397fcff1a59d56 Mon Sep 17 00:00:00 2001 From: shikbupt Date: Mon, 23 Dec 2019 15:29:13 +0800 Subject: [PATCH] fix etcd LogConfig bug (#1056) --- registry/etcd/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry/etcd/options.go b/registry/etcd/options.go index bc69b23b..611e119f 100644 --- a/registry/etcd/options.go +++ b/registry/etcd/options.go @@ -32,6 +32,6 @@ func LogConfig(config *zap.Config) registry.Option { if o.Context == nil { o.Context = context.Background() } - o.Context = context.WithValue(o.Context, authKey{}, config) + o.Context = context.WithValue(o.Context, logConfigKey{}, config) } }