Merge pull request #86567 from thdrnsdk/master

change print log for unity when during kubeadm init
This commit is contained in:
Kubernetes Prow Robot 2019-12-23 23:35:41 -08:00 committed by GitHub
commit 15344433f2
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)
}