Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoShaka committed Dec 9, 2024
1 parent db58119 commit c38e3c5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/autoupdate/rollout/strategy.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ func computeRolloutState(groups []*autoupdate.AutoUpdateAgentRolloutStatusGroup)
groupsByState := make(map[autoupdate.AutoUpdateAgentGroupState][]*autoupdate.AutoUpdateAgentRolloutStatusGroup)

for _, group := range groups {
previousGroups, _ := groupsByState[group.State]
groupsByState[group.State] = append(previousGroups, group)
groupsByState[group.State] = append(groupsByState[group.State], group)
}

// If one or more groups have been rolled back, we consider the rollout rolledback
Expand Down

0 comments on commit c38e3c5

Please sign in to comment.