Skip to content

Commit

Permalink
fix(platform): idempotent problem (#925)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Ryu committed Nov 19, 2020
1 parent 58bb539 commit 7d9eeb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/platform/provider/baremetal/phases/kubeadm/kubeadm.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ func UpgradeNode(s ssh.Interface, client kubernetes.Interface, platformClient pl
return upgraded, err
}
if !needUpgrade {
return upgraded, nil
return true, nil
}
// check node kubelet version
sameMinor, err := checkKubeletVersion(client, node.Name, option.Version, false)
Expand Down

0 comments on commit 7d9eeb8

Please sign in to comment.