Skip to content

Commit

Permalink
Signed-off-by: Alon Gluzman <alon.gluzman@stackpulse.io>
Browse files Browse the repository at this point in the history
 Changes to be committed:
	modified:   pkg/controller/scheduler_hooks.go

scale canary after confirm-rollout approval

Signed-off-by: Alon Gluzman <alon.gluzman@stackpulse.io>

Remove blank lines

Signed-off-by: Alon Gluzman <alon.gluzman@stackpulse.io>
  • Loading branch information
Alon Gluzman committed Apr 29, 2021
1 parent fcac992 commit 9fe6bb0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/controller/scheduler_hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ func (c *Controller) runConfirmRolloutHooks(canary *flaggerv1.Canary, canaryCont
c.logger.With("canary", fmt.Sprintf("%s.%s", canary.Name, canary.Namespace)).Errorf("%v", err)
return false
}
if err := canaryController.ScaleFromZero(canary); err != nil {
c.recordEventErrorf(canary, "%v", err)
return false
}
c.recordEventInfof(canary, "Confirm-rollout check %s passed", webhook.Name)
return false
}
Expand Down

0 comments on commit 9fe6bb0

Please sign in to comment.