@@ -132,7 +132,7 @@ func TestOperatorSetStatusProgressing(t *testing.T) {
132132 err = optr .setStatusProgressing (context .TODO (), nil )
133133 assert .NoErrorf (t , err , "Failed to set Progressing status on ClusterOperator" )
134134
135- err = optr .Client . Get (context .TODO (), client.ObjectKey {Name : clusterOperatorName }, gotCO )
135+ err = optr .Get (context .TODO (), client.ObjectKey {Name : clusterOperatorName }, gotCO )
136136 assert .NoErrorf (t , err , "Failed to fetch ClusterOperator" )
137137 var conditionAfterAnotherSync configv1.ClusterOperatorStatusCondition
138138 for _ , coCondition := range gotCO .Status .Conditions {
@@ -261,7 +261,7 @@ func TestOperatorSetStatusDegraded(t *testing.T) {
261261 err = optr .setStatusDegraded (context .TODO (), tc .passErr , nil )
262262 assert .NoErrorf (t , err , "Failed to set Degraded status on ClusterOperator" )
263263
264- err = optr .Client . Get (context .TODO (), client.ObjectKey {Name : clusterOperatorName }, gotCO )
264+ err = optr .Get (context .TODO (), client.ObjectKey {Name : clusterOperatorName }, gotCO )
265265 assert .NoErrorf (t , err , "Failed to fetch ClusterOperator" )
266266
267267 var conditionAfterAnotherSync configv1.ClusterOperatorStatusCondition
@@ -408,7 +408,7 @@ func TestOperatorSetStatusAvailable(t *testing.T) {
408408 err = optr .setStatusAvailable (context .TODO (), tc .overrides )
409409 assert .NoErrorf (t , err , "Failed to set Available status on ClusterOperator" )
410410
411- err = optr .Client . Get (context .TODO (), client.ObjectKey {Name : clusterOperatorName }, gotCO )
411+ err = optr .Get (context .TODO (), client.ObjectKey {Name : clusterOperatorName }, gotCO )
412412 assert .NoErrorf (t , err , "Failed to fetch ClusterOperator" )
413413
414414 var conditionAfterAnotherSync configv1.ClusterOperatorStatusCondition
0 commit comments