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: Daniel Weiße <[email protected]>
  • Loading branch information
elchead and daniel-weisse authored Sep 6, 2023
1 parent fb19e33 commit 3de166e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/internal/cmd/upgradeapply.go
Original file line number Diff line number Diff line change
Expand Up @@ -600,8 +600,8 @@ type upgradeApplyFlags struct {
// skipPhases is a list of phases that can be skipped during the upgrade process.
type skipPhases []skipPhase

// Contains returns true if the list of phases contains the given phase.
func (s skipPhases) Contains(phase skipPhase) bool {
// contains returns true if the list of phases contains the given phase.
func (s skipPhases) contains(phase skipPhase) bool {
for _, p := range s {
if strings.EqualFold(string(p), string(phase)) {
return true
Expand Down

0 comments on commit 3de166e

Please sign in to comment.