@@ -30,7 +30,7 @@ func TestBuilder(t *testing.T) {
30
30
},
31
31
expected : & configv1.ClusterOperatorStatus {
32
32
Conditions : []configv1.ClusterOperatorStatusCondition {
33
- configv1. ClusterOperatorStatusCondition {
33
+ {
34
34
Type : configv1 .OperatorProgressing ,
35
35
Status : configv1 .ConditionTrue ,
36
36
Message : "message" ,
@@ -51,7 +51,7 @@ func TestBuilder(t *testing.T) {
51
51
},
52
52
existing : & configv1.ClusterOperatorStatus {
53
53
Conditions : []configv1.ClusterOperatorStatusCondition {
54
- configv1. ClusterOperatorStatusCondition {
54
+ {
55
55
Type : configv1 .OperatorProgressing ,
56
56
Status : configv1 .ConditionFalse ,
57
57
},
@@ -61,7 +61,7 @@ func TestBuilder(t *testing.T) {
61
61
},
62
62
expected : & configv1.ClusterOperatorStatus {
63
63
Conditions : []configv1.ClusterOperatorStatusCondition {
64
- configv1. ClusterOperatorStatusCondition {
64
+ {
65
65
Type : configv1 .OperatorProgressing ,
66
66
Status : configv1 .ConditionTrue ,
67
67
Message : "message" ,
@@ -82,7 +82,7 @@ func TestBuilder(t *testing.T) {
82
82
},
83
83
existing : & configv1.ClusterOperatorStatus {
84
84
Conditions : []configv1.ClusterOperatorStatusCondition {
85
- configv1. ClusterOperatorStatusCondition {
85
+ {
86
86
Type : configv1 .OperatorProgressing ,
87
87
Status : configv1 .ConditionTrue ,
88
88
LastTransitionTime : minuteAgo ,
@@ -93,7 +93,7 @@ func TestBuilder(t *testing.T) {
93
93
},
94
94
expected : & configv1.ClusterOperatorStatus {
95
95
Conditions : []configv1.ClusterOperatorStatusCondition {
96
- configv1. ClusterOperatorStatusCondition {
96
+ {
97
97
Type : configv1 .OperatorProgressing ,
98
98
Status : configv1 .ConditionTrue ,
99
99
Message : "message" ,
@@ -199,7 +199,7 @@ func TestBuilder(t *testing.T) {
199
199
expected : & configv1.ClusterOperatorStatus {
200
200
Conditions : []configv1.ClusterOperatorStatusCondition {},
201
201
Versions : []configv1.OperandVersion {
202
- configv1. OperandVersion {
202
+ {
203
203
Name : "foo" ,
204
204
Version : "1.00" ,
205
205
},
@@ -218,7 +218,7 @@ func TestBuilder(t *testing.T) {
218
218
existing : & configv1.ClusterOperatorStatus {
219
219
Conditions : []configv1.ClusterOperatorStatusCondition {},
220
220
Versions : []configv1.OperandVersion {
221
- configv1. OperandVersion {
221
+ {
222
222
Name : "foo" ,
223
223
Version : "1.00" ,
224
224
},
@@ -228,7 +228,7 @@ func TestBuilder(t *testing.T) {
228
228
expected : & configv1.ClusterOperatorStatus {
229
229
Conditions : []configv1.ClusterOperatorStatusCondition {},
230
230
Versions : []configv1.OperandVersion {
231
- configv1. OperandVersion {
231
+ {
232
232
Name : "foo" ,
233
233
Version : "1.00" ,
234
234
},
@@ -247,7 +247,7 @@ func TestBuilder(t *testing.T) {
247
247
existing : & configv1.ClusterOperatorStatus {
248
248
Conditions : []configv1.ClusterOperatorStatusCondition {},
249
249
Versions : []configv1.OperandVersion {
250
- configv1. OperandVersion {
250
+ {
251
251
Name : "foo" ,
252
252
Version : "1.00" ,
253
253
},
@@ -257,7 +257,7 @@ func TestBuilder(t *testing.T) {
257
257
expected : & configv1.ClusterOperatorStatus {
258
258
Conditions : []configv1.ClusterOperatorStatusCondition {},
259
259
Versions : []configv1.OperandVersion {
260
- configv1. OperandVersion {
260
+ {
261
261
Name : "foo" ,
262
262
Version : "2.00" ,
263
263
},
@@ -275,7 +275,7 @@ func TestBuilder(t *testing.T) {
275
275
existing : & configv1.ClusterOperatorStatus {
276
276
Conditions : []configv1.ClusterOperatorStatusCondition {},
277
277
Versions : []configv1.OperandVersion {
278
- configv1. OperandVersion {
278
+ {
279
279
Name : "foo" ,
280
280
Version : "1.00" ,
281
281
},
@@ -285,11 +285,11 @@ func TestBuilder(t *testing.T) {
285
285
expected : & configv1.ClusterOperatorStatus {
286
286
Conditions : []configv1.ClusterOperatorStatusCondition {},
287
287
Versions : []configv1.OperandVersion {
288
- configv1. OperandVersion {
288
+ {
289
289
Name : "foo" ,
290
290
Version : "2.00" ,
291
291
},
292
- configv1. OperandVersion {
292
+ {
293
293
Name : "bar" ,
294
294
Version : "1.00" ,
295
295
},
@@ -308,11 +308,11 @@ func TestBuilder(t *testing.T) {
308
308
existing : & configv1.ClusterOperatorStatus {
309
309
Conditions : []configv1.ClusterOperatorStatusCondition {},
310
310
Versions : []configv1.OperandVersion {
311
- configv1. OperandVersion {
311
+ {
312
312
Name : "foo" ,
313
313
Version : "1.00" ,
314
314
},
315
- configv1. OperandVersion {
315
+ {
316
316
Name : "bar" ,
317
317
Version : "1.00" ,
318
318
},
@@ -322,7 +322,7 @@ func TestBuilder(t *testing.T) {
322
322
expected : & configv1.ClusterOperatorStatus {
323
323
Conditions : []configv1.ClusterOperatorStatusCondition {},
324
324
Versions : []configv1.OperandVersion {
325
- configv1. OperandVersion {
325
+ {
326
326
Name : "bar" ,
327
327
Version : "1.00" ,
328
328
},
@@ -342,7 +342,7 @@ func TestBuilder(t *testing.T) {
342
342
Conditions : []configv1.ClusterOperatorStatusCondition {},
343
343
Versions : []configv1.OperandVersion {},
344
344
RelatedObjects : []configv1.ObjectReference {
345
- configv1. ObjectReference {
345
+ {
346
346
Group : "group" ,
347
347
Resource : "resources" ,
348
348
Namespace : "namespace" ,
@@ -363,7 +363,7 @@ func TestBuilder(t *testing.T) {
363
363
Conditions : []configv1.ClusterOperatorStatusCondition {},
364
364
Versions : []configv1.OperandVersion {},
365
365
RelatedObjects : []configv1.ObjectReference {
366
- configv1. ObjectReference {
366
+ {
367
367
Group : "group" ,
368
368
Resource : "resources" ,
369
369
Namespace : "namespace" ,
@@ -375,7 +375,7 @@ func TestBuilder(t *testing.T) {
375
375
Conditions : []configv1.ClusterOperatorStatusCondition {},
376
376
Versions : []configv1.OperandVersion {},
377
377
RelatedObjects : []configv1.ObjectReference {
378
- configv1. ObjectReference {
378
+ {
379
379
Group : "group" ,
380
380
Resource : "resources" ,
381
381
Namespace : "namespace" ,
@@ -396,7 +396,7 @@ func TestBuilder(t *testing.T) {
396
396
Conditions : []configv1.ClusterOperatorStatusCondition {},
397
397
Versions : []configv1.OperandVersion {},
398
398
RelatedObjects : []configv1.ObjectReference {
399
- configv1. ObjectReference {
399
+ {
400
400
Group : "group" ,
401
401
Resource : "resources" ,
402
402
Namespace : "namespace" ,
0 commit comments