mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue Keep retry times the same for each place where trying to ensure DNS Records There are three places where ensureDnsRecords is retried. But they have different retry times. One place [(here)](https://github.com/xiangpengzhao/kubernetes/blob/master/federation/pkg/federation-controller/service/endpoint_helper.go#L107) is clientRetryCount but other two [(here](https://github.com/xiangpengzhao/kubernetes/blob/master/federation/pkg/federation-controller/service/endpoint_helper.go#L138) and [here)](https://github.com/xiangpengzhao/kubernetes/blob/master/federation/pkg/federation-controller/service/endpoint_helper.go#L161) are clientRetryCount + 1. Though this case doesn't have any influence, shouldn't we keep retry times the same each place? also fix other nits: use the same log level. log the error in each loop. cc @quinton-hoole |
||
---|---|---|
.. | ||
apis | ||
client | ||
cluster | ||
cmd | ||
manifests | ||
pkg | ||
registry/cluster | ||
OWNERS |