kubeadm: fix printf format error

go test in 1.11 verifies format strings; this fix is needed for the
test to pass with go 1.11.
This commit is contained in:
Justin Santa Barbara 2018-10-03 15:16:04 -04:00
parent 2e0e1681a6
commit 34b8433006

View File

@ -110,7 +110,7 @@ func CreateCACertAndKeyFiles(certSpec *KubeadmCert, cfg *kubeadmapi.InitConfigur
if certSpec.CAName != "" {
return fmt.Errorf("This function should only be used for CAs, but cert %s has CA %s", certSpec.Name, certSpec.CAName)
}
glog.V(1).Infoln("creating a new certificate authority for %s", certSpec.Name)
glog.V(1).Infof("creating a new certificate authority for %s", certSpec.Name)
certConfig, err := certSpec.GetConfig(cfg)
if err != nil {