diff --git a/cmd/argo-watcher/argocd/argo_status_updater.go b/cmd/argo-watcher/argocd/argo_status_updater.go index 7ef330b..da36297 100644 --- a/cmd/argo-watcher/argocd/argo_status_updater.go +++ b/cmd/argo-watcher/argocd/argo_status_updater.go @@ -215,7 +215,7 @@ func (updater *ArgoStatusUpdater) waitRollout(task models.Task) (*models.Applica log.Error().Msg("Calculated attempts resulted in a negative number, defaulting to 15 attempts.") calculatedAttempts = 15 } - retryOptions = append(retryOptions, retry.Attempts(uint(calculatedAttempts))) + retryOptions = append(retryOptions, retry.Attempts(uint(calculatedAttempts))) // #nosec G115 } log.Debug().Str("id", task.Id).Msg("Waiting for rollout")