Skip to content

Commit

Permalink
Update cli/internal/cmd/upgradeapply.go
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Tendyck <[email protected]>
  • Loading branch information
elchead and thomasten committed Sep 8, 2023
1 parent 69aef9f commit ace41a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/internal/cmd/upgradeapply.go
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ func parseUpgradeApplyFlags(cmd *cobra.Command) (upgradeApplyFlags, error) {
if err != nil {
return upgradeApplyFlags{}, fmt.Errorf("parsing skip-phases flag: %w", err)
}
skipPhases := []skipPhase{}
var skipPhases []skipPhase
for _, phase := range rawSkipPhases {
switch skipPhase(phase) {
case skipInfrastructurePhase, skipHelmPhase, skipNodePhase, skipK8sPhase:
Expand Down

0 comments on commit ace41a7

Please sign in to comment.