Skip to content

Commit ed4e1a9

Browse files
lint fix
1 parent 34e6c9c commit ed4e1a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/upgrademonitor/upgrade_monitor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ func generateAndApplyMachineConfigNodes(
266266
if fg.Enabled(features.FeatureGatePinnedImages) {
267267
if imageSetApplyConfig == nil {
268268
for _, imageSet := range newMCNode.Status.PinnedImageSets {
269-
if imageSet.LastFailedGeneration != 0 { //only set `LastFailedGeneration` value when it is a non-default (non-0) value
269+
if imageSet.LastFailedGeneration != 0 { // only set `LastFailedGeneration` value when it is a non-default (non-0) value
270270
statusApplyConfig = statusApplyConfig.WithPinnedImageSets(&machineconfigurationalphav1.MachineConfigNodeStatusPinnedImageSetApplyConfiguration{
271271
DesiredGeneration: ptr.To(imageSet.DesiredGeneration),
272272
CurrentGeneration: ptr.To(imageSet.CurrentGeneration),

0 commit comments

Comments
 (0)