Commit cf6b3063 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #25992 from hongchaodeng/comp

Automatic merge from submit-queue etcd3/compactor: fix logging endpoints Missed a logging.
parents 46504c20 ae6166f9
...@@ -51,7 +51,7 @@ func StartCompactor(ctx context.Context, client *clientv3.Client) { ...@@ -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
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment