Commit d2f5bbc0 authored by k8s-merge-robot's avatar k8s-merge-robot Committed by GitHub

Merge pull request #27742 from mml/fed-err-shadow

Automatic merge from submit-queue Fix block-local err bug in service_helper.go
parents 3ddff2b2 3ec2b196
...@@ -89,7 +89,8 @@ func (cc *clusterClientCache) syncService(key, clusterName string, clusterCache ...@@ -89,7 +89,8 @@ func (cc *clusterClientCache) syncService(key, clusterName string, clusterCache
if needUpdate { if needUpdate {
for i := 0; i < clientRetryCount; i++ { for i := 0; i < clientRetryCount; i++ {
if err := sc.ensureDnsRecords(clusterName, cachedService); err == nil { err := sc.ensureDnsRecords(clusterName, cachedService)
if err == nil {
break break
} }
glog.V(4).Infof("Error ensuring DNS Records for service %s on cluster %s: %v", key, clusterName, err) glog.V(4).Infof("Error ensuring DNS Records for service %s on cluster %s: %v", key, clusterName, err)
......
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