Skip to content

Commit e60ee2a

Browse files
Fixing spelling of notUpradeableCondition type to notUpgradeableCondition
Signed-off-by: Lalatendu Mohanty <[email protected]>
1 parent d6475ef commit e60ee2a

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)