We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98268d2 commit 8cdd736Copy full SHA for 8cdd736
internal/controller/genericprovider_controller_test.go
@@ -23,7 +23,6 @@ import (
23
. "github.com/onsi/gomega"
24
appsv1 "k8s.io/api/apps/v1"
25
corev1 "k8s.io/api/core/v1"
26
- "k8s.io/apimachinery/pkg/api/meta"
27
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
28
"k8s.io/apimachinery/pkg/runtime"
29
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
@@ -312,7 +311,7 @@ func TestReconcilerPreflightConditions(t *testing.T) {
312
311
return false
313
}
314
315
- if meta.IsStatusConditionTrue(p.GetStatus().Conditions, operatorv1.PreflightCheckCondition) {
+ if conditions.IsTrue(p, operatorv1.PreflightCheckCondition) {
316
return true
317
318
0 commit comments