Skip to content

Commit 02e9c50

Browse files
Merge pull request #454 from LalatenduMohanty/fixing_spellings
Fixing spelling of notUpradeableCondition
2 parents 2c9d4a2 + e60ee2a commit 02e9c50

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/cvo/upgradeable.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,14 @@ func (check *clusterOperatorsUpgradeable) Check() *configv1.ClusterOperatorStatu
152152
return cond
153153
}
154154

155-
type notUpradeableCondition struct {
155+
type notUpgradeableCondition struct {
156156
name string
157157
condition *configv1.ClusterOperatorStatusCondition
158158
}
159-
var notup []notUpradeableCondition
159+
var notup []notUpgradeableCondition
160160
for _, op := range ops {
161161
if up := resourcemerge.FindOperatorStatusCondition(op.Status.Conditions, configv1.OperatorUpgradeable); up != nil && up.Status == configv1.ConditionFalse {
162-
notup = append(notup, notUpradeableCondition{name: op.GetName(), condition: up})
162+
notup = append(notup, notUpgradeableCondition{name: op.GetName(), condition: up})
163163
}
164164
}
165165

0 commit comments

Comments
 (0)