Skip to content

Commit b49d833

Browse files
sriram-30sajmera-pensando
authored andcommitted
upgrade param change during driver upgrade corner case
1 parent 885c51c commit b49d833

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/controllers/upgrademgr.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ func (n *upgradeMgr) HandleUpgrade(ctx context.Context, deviceConfig *amdv1alpha
141141
}
142142
}
143143
} else {
144+
go n.helper.deleteRebootPod(ctx, nodeName, *deviceConfig, true)
144145
log.FromContext(ctx).Info(fmt.Sprintf("Node: %v: Resetting Upgrade State to UpgradeStateEmpty", nodeName))
145146
n.helper.setNodeStatus(ctx, nodeName, amdv1alpha1.UpgradeStateEmpty)
146147
}

0 commit comments

Comments
 (0)