From 237da6250b71ffaf83df460bc4964f385b724cc4 Mon Sep 17 00:00:00 2001 From: kangsub song Date: Tue, 24 Dec 2019 10:13:48 +0900 Subject: [PATCH] change print log for unity when during kubeadm init change print log for unity when during kubeadm init --- cmd/kubeadm/app/phases/controlplane/volumes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kubeadm/app/phases/controlplane/volumes.go b/cmd/kubeadm/app/phases/controlplane/volumes.go index 0806ab33342..053f47fd66d 100644 --- a/cmd/kubeadm/app/phases/controlplane/volumes.go +++ b/cmd/kubeadm/app/phases/controlplane/volumes.go @@ -144,7 +144,7 @@ func (c *controlPlaneHostPathMounts) AddHostPathMounts(component string, vols [] // paths in the case that a user specifies the same volume/volume mount name. func (c *controlPlaneHostPathMounts) AddExtraHostPathMounts(component string, extraVols []kubeadmapi.HostPathMount) { for _, extraVol := range extraVols { - fmt.Printf("[controlplane] Adding extra host path mount %q to %q\n", extraVol.Name, component) + fmt.Printf("[control-plane] Adding extra host path mount %q to %q\n", extraVol.Name, component) hostPathType := extraVol.PathType c.NewHostPathMount(component, extraVol.Name, extraVol.HostPath, extraVol.MountPath, extraVol.ReadOnly, &hostPathType) }