Skip to content

Commit eac9584

Browse files
committed
Fix exhaustive check errors
1 parent bb03f58 commit eac9584

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

pkg/storage/storage.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,10 @@ func GetPlatformStorage(listers *regopclient.StorageListers) (imageregistryv1.Im
184184
case configapiv1.BareMetalPlatformType,
185185
configapiv1.VSpherePlatformType,
186186
configapiv1.NonePlatformType,
187-
configapiv1.NutanixPlatformType:
187+
configapiv1.NutanixPlatformType,
188+
configapiv1.KubevirtPlatformType,
189+
configapiv1.EquinixMetalPlatformType,
190+
configapiv1.PowerVSPlatformType:
188191
break
189192

190193
// These are the supported platforms. We do have backend implementation

test/framework/imageregistry.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,8 @@ func EnsureClusterOperatorStatusIsNormal(te TestEnv) {
479479
if cond.Status != configapiv1.ConditionFalse {
480480
te.Errorf("Expected clusteroperator Degraded=%s, got %s", configapiv1.ConditionFalse, cond.Status)
481481
}
482+
case configapiv1.OperatorUpgradeable, configapiv1.EvaluationConditionsDetected, configapiv1.RetrievedUpdates:
483+
// we don't use these conditions
482484
}
483485
}
484486

0 commit comments

Comments
 (0)