Skip to content

Commit

Permalink
fix(controller): add clarity to comment in the case there is no stableRS
Browse files Browse the repository at this point in the history
  • Loading branch information
benminter-treatwell committed Jul 7, 2024
1 parent 4e31b41 commit b8030de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollout/bluegreen.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (c *rolloutContext) rolloutBlueGreen() error {

func (c *rolloutContext) reconcileBlueGreenStableReplicaSet() error {
if c.stableRS == nil {
c.log.Info("stableRS is nil on first deployment, we don't need to scale it in this case")
c.log.Info("Stable ReplicaSet doesn't exist and hence no reconciliation is required.")
return nil
}

Expand Down

0 comments on commit b8030de

Please sign in to comment.