mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #69392 from justinsb/fix_go_111_printf_kubeadm
kubeadm: fix printf format error
This commit is contained in:
commit
50ce55e7c5
@ -110,7 +110,7 @@ func CreateCACertAndKeyFiles(certSpec *KubeadmCert, cfg *kubeadmapi.InitConfigur
|
|||||||
if certSpec.CAName != "" {
|
if certSpec.CAName != "" {
|
||||||
return fmt.Errorf("This function should only be used for CAs, but cert %s has CA %s", certSpec.Name, 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)
|
certConfig, err := certSpec.GetConfig(cfg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user