We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 75e7e97 + 5dd9d6a commit 8f1eeacCopy full SHA for 8f1eeac
cmd/kubeadm/app/cmd/phases/reset/updateclusterstatus.go
@@ -44,7 +44,9 @@ func runUpdateClusterStatus(c workflow.RunData) error {
44
// Reset the ClusterStatus for a given control-plane node.
45
cfg := r.Cfg()
46
if isControlPlane() && cfg != nil {
47
- uploadconfig.ResetClusterStatusForNode(cfg.NodeRegistration.Name, r.Client())
+ if err := uploadconfig.ResetClusterStatusForNode(cfg.NodeRegistration.Name, r.Client()); err != nil {
48
+ return err
49
+ }
50
}
51
52
return nil
0 commit comments