mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
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:
parent
2e0e1681a6
commit
34b8433006
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user