@@ -166,7 +166,7 @@ func TestReconcile(t *testing.T) {
166166 ExpectedMachines : pointer .Int (1 ),
167167 CurrentHealthy : pointer .Int (0 ),
168168 RemediationsAllowed : 0 ,
169- Conditions : machinev1.Conditions {
169+ Conditions : [] machinev1.Condition {
170170 remediationAllowedCondition ,
171171 },
172172 },
@@ -197,7 +197,7 @@ func TestReconcile(t *testing.T) {
197197 ExpectedMachines : pointer .Int (1 ),
198198 CurrentHealthy : pointer .Int (1 ),
199199 RemediationsAllowed : 1 ,
200- Conditions : machinev1.Conditions {
200+ Conditions : [] machinev1.Condition {
201201 remediationAllowedCondition ,
202202 },
203203 },
@@ -219,7 +219,7 @@ func TestReconcile(t *testing.T) {
219219 ExpectedMachines : pointer .Int (1 ),
220220 CurrentHealthy : pointer .Int (0 ),
221221 RemediationsAllowed : 0 ,
222- Conditions : machinev1.Conditions {
222+ Conditions : [] machinev1.Condition {
223223 remediationAllowedCondition ,
224224 },
225225 },
@@ -238,7 +238,7 @@ func TestReconcile(t *testing.T) {
238238 ExpectedMachines : pointer .Int (0 ),
239239 CurrentHealthy : pointer .Int (0 ),
240240 RemediationsAllowed : 0 ,
241- Conditions : machinev1.Conditions {
241+ Conditions : [] machinev1.Condition {
242242 remediationAllowedCondition ,
243243 },
244244 },
@@ -257,7 +257,7 @@ func TestReconcile(t *testing.T) {
257257 ExpectedMachines : pointer .Int (0 ),
258258 CurrentHealthy : pointer .Int (0 ),
259259 RemediationsAllowed : 0 ,
260- Conditions : machinev1.Conditions {
260+ Conditions : [] machinev1.Condition {
261261 remediationAllowedCondition ,
262262 },
263263 },
@@ -276,7 +276,7 @@ func TestReconcile(t *testing.T) {
276276 ExpectedMachines : pointer .Int (1 ),
277277 CurrentHealthy : pointer .Int (0 ),
278278 RemediationsAllowed : 0 ,
279- Conditions : machinev1.Conditions {
279+ Conditions : [] machinev1.Condition {
280280 remediationAllowedCondition ,
281281 },
282282 },
@@ -297,7 +297,7 @@ func TestReconcile(t *testing.T) {
297297 ExpectedMachines : pointer .Int (1 ),
298298 CurrentHealthy : pointer .Int (0 ),
299299 RemediationsAllowed : 0 ,
300- Conditions : machinev1.Conditions {
300+ Conditions : [] machinev1.Condition {
301301 remediationAllowedCondition ,
302302 },
303303 },
@@ -316,7 +316,7 @@ func TestReconcile(t *testing.T) {
316316 ExpectedMachines : pointer .Int (1 ),
317317 CurrentHealthy : pointer .Int (0 ),
318318 RemediationsAllowed : 0 ,
319- Conditions : machinev1.Conditions {
319+ Conditions : [] machinev1.Condition {
320320 remediationAllowedCondition ,
321321 },
322322 },
@@ -335,7 +335,7 @@ func TestReconcile(t *testing.T) {
335335 ExpectedMachines : pointer .Int (1 ),
336336 CurrentHealthy : pointer .Int (1 ),
337337 RemediationsAllowed : 0 ,
338- Conditions : machinev1.Conditions {
338+ Conditions : [] machinev1.Condition {
339339 remediationAllowedCondition ,
340340 },
341341 },
@@ -356,7 +356,7 @@ func TestReconcile(t *testing.T) {
356356 ExpectedMachines : pointer .Int (1 ),
357357 CurrentHealthy : pointer .Int (0 ),
358358 RemediationsAllowed : 0 ,
359- Conditions : machinev1.Conditions {
359+ Conditions : [] machinev1.Condition {
360360 {
361361 Type : machinev1 .RemediationAllowedCondition ,
362362 Status : corev1 .ConditionFalse ,
@@ -419,7 +419,7 @@ func TestReconcileExternalRemediationTemplate(t *testing.T) {
419419 ExpectedMachines : pointer .Int (1 ),
420420 CurrentHealthy : pointer .Int (1 ),
421421 RemediationsAllowed : 1 ,
422- Conditions : machinev1.Conditions {
422+ Conditions : [] machinev1.Condition {
423423 remediationAllowedCondition ,
424424 },
425425 },
@@ -441,7 +441,7 @@ func TestReconcileExternalRemediationTemplate(t *testing.T) {
441441 ExpectedMachines : pointer .Int (1 ),
442442 CurrentHealthy : pointer .Int (0 ),
443443 RemediationsAllowed : 0 ,
444- Conditions : machinev1.Conditions {
444+ Conditions : [] machinev1.Condition {
445445 remediationAllowedCondition ,
446446 },
447447 },
@@ -463,7 +463,7 @@ func TestReconcileExternalRemediationTemplate(t *testing.T) {
463463 ExpectedMachines : pointer .Int (1 ),
464464 CurrentHealthy : pointer .Int (0 ),
465465 RemediationsAllowed : 0 ,
466- Conditions : machinev1.Conditions {
466+ Conditions : [] machinev1.Condition {
467467 remediationAllowedCondition ,
468468 },
469469 },
@@ -485,7 +485,7 @@ func TestReconcileExternalRemediationTemplate(t *testing.T) {
485485 ExpectedMachines : pointer .Int (1 ),
486486 CurrentHealthy : pointer .Int (0 ),
487487 RemediationsAllowed : 0 ,
488- Conditions : machinev1.Conditions {
488+ Conditions : [] machinev1.Condition {
489489 remediationAllowedCondition ,
490490 },
491491 },
0 commit comments