Skip to content

Commit 85ff498

Browse files
.
1 parent 39c2f90 commit 85ff498

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/controller/node/node_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1655,6 +1655,7 @@ func (ctrl *Controller) migrateMCNConditionsToImageModeStatusReporting() (int, e
16551655
needsImagePulledFromRegistry := true
16561656
var newConditions []metav1.Condition
16571657
for _, condition := range mcn.Status.Conditions {
1658+
//nolint:gocritic // (ijanssen) the linter thinks this block would be clearer as a switch statement, but I disagree
16581659
if condition.Type == string(mcfgv1.MachineConfigNodeUpdateFilesAndOS) {
16591660
hasLegacyCondition = true
16601661
klog.V(4).Infof("Removing legacy MachineConfigNodeUpdateFilesAndOS condition from MCN %s", mcn.Name)

0 commit comments

Comments
 (0)