Merge pull request #25992 from hongchaodeng/comp

Automatic merge from submit-queue

etcd3/compactor: fix logging endpoints

Missed a logging.
This commit is contained in:
k8s-merge-robot
2016-05-20 22:58:09 -07:00

View File

@@ -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
} }
} }