Give etcd client logger a name

Logic copied from https://github.com/etcd-io/etcd/blob/v3.5.4/client/v3/client.go#L374

Signed-off-by: Nic Cope <nicc@rk0n.org>

Kubernetes-commit: 364374dde361fd269bad5f57e5d53aae8cf85673
This commit is contained in:
Nic Cope 2022-07-29 14:24:17 -07:00 committed by Kubernetes Publisher
parent 1679f86577
commit dcc27cc581
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ func init() {
if err != nil {
l = zap.NewNop()
}
etcd3ClientLogger = l
etcd3ClientLogger = l.Named("etcd-client")
}
func newETCD3HealthCheck(c storagebackend.Config) (func() error, error) {