Skip to content

Commit f2659bc

Browse files
authored
Merge pull request kubernetes#76572 from mkumatag/fix_flakey
loop through next entry in stubDomainData if proxyIP == 0
2 parents c09cfb7 + 23153e3 commit f2659bc

File tree

1 file changed

+1
-1
lines changed
  • cmd/kubeadm/app/phases/addons/dns

1 file changed

+1
-1
lines changed

cmd/kubeadm/app/phases/addons/dns/dns.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ func translateStubDomainOfKubeDNSToForwardCoreDNS(dataField string, kubeDNSConfi
318318
return "", errors.Wrap(err, "invalid format to parse for proxy")
319319
}
320320
if len(proxyIP) == 0 {
321-
break
321+
continue
322322
}
323323

324324
pStanza := map[string]interface{}{}

0 commit comments

Comments
 (0)