fix etcd LogConfig bug (#1056)
This commit is contained in:
parent
45208992b5
commit
1781542964
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user