Skip to content

Commit

Permalink
Update scheduler.go
Browse files Browse the repository at this point in the history
Signed-off-by: Anuj Tyagi <[email protected]>
  • Loading branch information
tyagian authored Sep 10, 2023
1 parent 4c34c09 commit 4a258b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ func (c *Controller) runRolloutWebhooks(canary *flaggerv1.Canary,retryLimit int)
c.recordEventWarningf(canary, "Retries exceeded limit for webhook %s", webhook.Name)
return false
}
if err := CallWebhook(canary.Name, canary.Namespace, flaggerv1.CanaryPhaseProgressing, webhook); if err != nil {
if err := CallWebhook(canary.Name, canary.Namespace, flaggerv1.CanaryPhaseProgressing, webhook); err != nil {
canary.Status.WebhookRetries++
return false
}
Expand Down

0 comments on commit 4a258b8

Please sign in to comment.