We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d6f52f commit 5c235e3Copy full SHA for 5c235e3
cli/injector/main.go
@@ -889,7 +889,12 @@ func handleMetricError(err error) {
889
// retryNotifyHandler is called when the cleanup fails
890
// it logs the error and the time to wait before the next retry
891
func retryNotifyHandler(err error, delay time.Duration) {
892
- log.Errorw("disruption cleanup failed", "error", err)
+ if v1beta1.IsUpdateConflictError(err) {
893
+ log.Infow("a retryable error occurred during disruption cleanup", "error", err)
894
+ } else {
895
+ log.Errorw("disruption cleanup failed", "error", err)
896
+ }
897
+
898
log.Infof("retrying cleanup in %s", delay.String())
899
}
900
0 commit comments