Skip to content

Commit d773912

Browse files
Fix linting errors:
New Go and golangci-lint versions. Signed-off-by: Jacob Weinstock <[email protected]>
1 parent db3ebdf commit d773912

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controller/machine/tinkerbellmachine_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ func Test_Machine_reconciliation_with_available_hardware(t *testing.T) {
458458
g.Expect(client.Get(ctx, hardwareNamespacedName, updatedHardware)).To(Succeed())
459459

460460
if diff := cmp.Diff(updatedHardware.Spec.Interfaces[0].Netboot.AllowPXE, ptr.To(true)); diff != "" {
461-
t.Errorf(diff)
461+
t.Error(diff)
462462
}
463463
})
464464
}
@@ -593,7 +593,7 @@ func Test_Machine_reconciliation_workflow_complete(t *testing.T) {
593593
g.Expect(client.Get(ctx, hardwareNamespacedName, updatedHardware)).To(Succeed())
594594

595595
if diff := cmp.Diff(updatedHardware.Spec.Interfaces[0].Netboot.AllowPXE, ptr.To(false)); diff != "" {
596-
t.Errorf(diff)
596+
t.Error(diff)
597597
}
598598
})
599599
}

0 commit comments

Comments
 (0)