change print log for unity when during kubeadm init

change print log for unity when during kubeadm init
This commit is contained in:
kangsub song 2019-12-24 10:13:48 +09:00 committed by GitHub
parent 5e31799701
commit 237da6250b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}