Skip to content

Commit

Permalink
add comment/question about readiness
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemailly committed Feb 13, 2024
1 parent 94e7d53 commit 084e352
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mstore/dnsWatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ var (
func reverseDNS(ips sets.Set[string]) (sets.Set[string], bool) {
allNames := sets.Set[string]{}
hasError := false
// From observation (hopefully true across kubernetes/coredns implementaions): any error
// means "in progress" so we wait until there are no errors (might be an issue though
// once we add readiness probe).
for ip := range ips {
names, err := net.LookupAddr(ip)
if err != nil {
Expand Down

0 comments on commit 084e352

Please # to comment.