fix etcd LogConfig bug (#1056)

This commit is contained in:
shikbupt 2019-12-23 15:29:13 +08:00 committed by Asim Aslam
parent 45208992b5
commit 1781542964

View File

@ -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)
}
}