mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #129455 from neolit123/automated-cherry-pick-of-#129418-origin-release-1.32-1735822604
Automated cherry pick of #129452 kubeadm: fix a bug where the node.skipPhases in UpgradeNodeConfigurat…
This commit is contained in:
commit
117a48fcdf
@ -87,6 +87,13 @@ func newCmdNode(out io.Writer) *cobra.Command {
|
||||
return err
|
||||
}
|
||||
|
||||
data, err := nodeRunner.InitData(args)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if _, ok := data.(*nodeData); !ok {
|
||||
return errors.New("invalid data struct")
|
||||
}
|
||||
if err := nodeRunner.Run(args); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user