mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
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…
Reference in New Issue
Block a user