mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
etcd3/compactor: fix logging endpoints
This commit is contained in:
parent
9625926852
commit
ae6166f97d
@ -51,7 +51,7 @@ func StartCompactor(ctx context.Context, client *clientv3.Client) {
|
|||||||
var emptyStruct struct{}
|
var emptyStruct struct{}
|
||||||
for _, ep := range client.Endpoints() {
|
for _, ep := range client.Endpoints() {
|
||||||
if _, ok := endpointsMap[ep]; ok {
|
if _, ok := endpointsMap[ep]; ok {
|
||||||
glog.V(4).Infof("compactor already exists for endpoints %v")
|
glog.V(4).Infof("compactor already exists for endpoints %v", client.Endpoints())
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user