@@ -118,8 +118,8 @@ var _ = Describe("Reconcile Machine Phases", func() {
118
118
defaultCluster ,
119
119
defaultKubeconfigSecret ,
120
120
machine ,
121
- external .TestGenericBootstrapCRD ,
122
- external .TestGenericInfrastructureCRD ,
121
+ external .TestGenericBootstrapCRD . DeepCopy () ,
122
+ external .TestGenericInfrastructureCRD . DeepCopy () ,
123
123
bootstrapConfig ,
124
124
infraConfig ,
125
125
),
@@ -154,8 +154,8 @@ var _ = Describe("Reconcile Machine Phases", func() {
154
154
defaultCluster ,
155
155
defaultKubeconfigSecret ,
156
156
machine ,
157
- external .TestGenericBootstrapCRD ,
158
- external .TestGenericInfrastructureCRD ,
157
+ external .TestGenericBootstrapCRD . DeepCopy () ,
158
+ external .TestGenericInfrastructureCRD . DeepCopy () ,
159
159
bootstrapConfig ,
160
160
infraConfig ,
161
161
),
@@ -195,8 +195,8 @@ var _ = Describe("Reconcile Machine Phases", func() {
195
195
defaultCluster ,
196
196
defaultKubeconfigSecret ,
197
197
machine ,
198
- external .TestGenericBootstrapCRD ,
199
- external .TestGenericInfrastructureCRD ,
198
+ external .TestGenericBootstrapCRD . DeepCopy () ,
199
+ external .TestGenericInfrastructureCRD . DeepCopy () ,
200
200
bootstrapConfig ,
201
201
infraConfig ,
202
202
),
@@ -262,8 +262,8 @@ var _ = Describe("Reconcile Machine Phases", func() {
262
262
defaultCluster ,
263
263
defaultKubeconfigSecret ,
264
264
machine ,
265
- external .TestGenericBootstrapCRD ,
266
- external .TestGenericInfrastructureCRD ,
265
+ external .TestGenericBootstrapCRD . DeepCopy () ,
266
+ external .TestGenericInfrastructureCRD . DeepCopy () ,
267
267
bootstrapConfig ,
268
268
infraConfig ,
269
269
),
@@ -316,8 +316,8 @@ var _ = Describe("Reconcile Machine Phases", func() {
316
316
defaultCluster ,
317
317
defaultKubeconfigSecret ,
318
318
machine ,
319
- external .TestGenericBootstrapCRD ,
320
- external .TestGenericInfrastructureCRD ,
319
+ external .TestGenericBootstrapCRD . DeepCopy () ,
320
+ external .TestGenericInfrastructureCRD . DeepCopy () ,
321
321
bootstrapConfig ,
322
322
infraConfig ,
323
323
),
@@ -381,8 +381,8 @@ var _ = Describe("Reconcile Machine Phases", func() {
381
381
defaultCluster ,
382
382
defaultKubeconfigSecret ,
383
383
machine ,
384
- external .TestGenericBootstrapCRD ,
385
- external .TestGenericInfrastructureCRD ,
384
+ external .TestGenericBootstrapCRD . DeepCopy () ,
385
+ external .TestGenericInfrastructureCRD . DeepCopy () ,
386
386
bootstrapConfig ,
387
387
infraConfig ,
388
388
),
@@ -426,8 +426,8 @@ var _ = Describe("Reconcile Machine Phases", func() {
426
426
defaultCluster ,
427
427
defaultKubeconfigSecret ,
428
428
machine ,
429
- external .TestGenericBootstrapCRD ,
430
- external .TestGenericInfrastructureCRD ,
429
+ external .TestGenericBootstrapCRD . DeepCopy () ,
430
+ external .TestGenericInfrastructureCRD . DeepCopy () ,
431
431
bootstrapConfig ,
432
432
infraConfig ,
433
433
),
@@ -493,8 +493,8 @@ var _ = Describe("Reconcile Machine Phases", func() {
493
493
defaultCluster ,
494
494
defaultKubeconfigSecret ,
495
495
machine ,
496
- external .TestGenericBootstrapCRD ,
497
- external .TestGenericInfrastructureCRD ,
496
+ external .TestGenericBootstrapCRD . DeepCopy () ,
497
+ external .TestGenericInfrastructureCRD . DeepCopy () ,
498
498
bootstrapConfig ,
499
499
infraConfig ,
500
500
),
@@ -730,8 +730,8 @@ func TestReconcileBootstrap(t *testing.T) {
730
730
r := & MachineReconciler {
731
731
Client : fake .NewFakeClientWithScheme (scheme .Scheme ,
732
732
tc .machine ,
733
- external .TestGenericBootstrapCRD ,
734
- external .TestGenericInfrastructureCRD ,
733
+ external .TestGenericBootstrapCRD . DeepCopy () ,
734
+ external .TestGenericInfrastructureCRD . DeepCopy () ,
735
735
bootstrapConfig ,
736
736
),
737
737
Log : log .Log ,
@@ -931,8 +931,8 @@ func TestReconcileInfrastructure(t *testing.T) {
931
931
r := & MachineReconciler {
932
932
Client : fake .NewFakeClientWithScheme (scheme .Scheme ,
933
933
tc .machine ,
934
- external .TestGenericBootstrapCRD ,
935
- external .TestGenericInfrastructureCRD ,
934
+ external .TestGenericBootstrapCRD . DeepCopy () ,
935
+ external .TestGenericInfrastructureCRD . DeepCopy () ,
936
936
infraConfig ,
937
937
),
938
938
Log : log .Log ,
0 commit comments