Skip to content

Commit

Permalink
Fix retry logic: Use break instead of return.
Browse files Browse the repository at this point in the history
  • Loading branch information
migueleliasweb authored and jimmidyson committed Jul 7, 2020
1 parent d67893f commit 3d75026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configmap-reload.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func main() {
}
setSuccessMetrict(h.String(), begun)
log.Println("successfully triggered reload")
return
break
}
}
case err := <-watcher.Errors:
Expand Down

0 comments on commit 3d75026

Please sign in to comment.