add line break in kubeadm upgrade logging message

logging use Println instead of Printf
This commit is contained in:
Guangming Wang 2019-09-10 10:58:23 +08:00
parent 6348200c92
commit 2bf3a07298

View File

@ -54,7 +54,7 @@ func runControlPlane() func(c workflow.RunData) error {
// if this is not a control-plane node, this phase should not be executed
if !data.IsControlPlaneNode() {
fmt.Printf("[upgrade] Skipping phase. Not a control plane node")
fmt.Println("[upgrade] Skipping phase. Not a control plane node.")
return nil
}