diff --git a/cmd/kubeadm/app/cmd/init.go b/cmd/kubeadm/app/cmd/init.go index f762b5969c9..666de7e2f50 100644 --- a/cmd/kubeadm/app/cmd/init.go +++ b/cmd/kubeadm/app/cmd/init.go @@ -485,7 +485,7 @@ func (i *Init) Run(out io.Writer) error { // Exit earlier if we're dryrunning if i.dryRun { - fmt.Println("[dryrun] finished dry-running successfully. Above are the resources that would be created") + fmt.Println("[dryrun] finished dry-running successfully. Above are the resources that would be created") return nil } @@ -536,7 +536,7 @@ func printFilesIfDryRunning(dryRun bool, manifestDir string) error { return nil } - glog.Infof("[dryrun] wrote certificates, kubeconfig files and control plane manifests to the %q directory\n", manifestDir) + glog.Infof("[dryrun] wrote certificates, kubeconfig files and control plane manifests to the %q directory\n", manifestDir) glog.Infoln("[dryrun] the certificates or kubeconfig files would not be printed due to their sensitive nature") glog.Infof("[dryrun] please examine the %q directory for details about what would be written\n", manifestDir) diff --git a/cmd/kubeadm/app/phases/uploadconfig/uploadconfig.go b/cmd/kubeadm/app/phases/uploadconfig/uploadconfig.go index 6035ea78c22..2f46ac5d4c3 100644 --- a/cmd/kubeadm/app/phases/uploadconfig/uploadconfig.go +++ b/cmd/kubeadm/app/phases/uploadconfig/uploadconfig.go @@ -33,7 +33,7 @@ import ( // UploadConfiguration saves the MasterConfiguration used for later reference (when upgrading for instance) func UploadConfiguration(cfg *kubeadmapi.MasterConfiguration, client clientset.Interface) error { - glog.Infof("[uploadconfig] storing the configuration used in ConfigMap %q in the %q Namespace\n", kubeadmconstants.MasterConfigurationConfigMap, metav1.NamespaceSystem) + glog.Infof("[uploadconfig] storing the configuration used in ConfigMap %q in the %q Namespace\n", kubeadmconstants.MasterConfigurationConfigMap, metav1.NamespaceSystem) // Convert cfg to the external version as that's the only version of the API that can be deserialized later externalcfg := &kubeadmapiext.MasterConfiguration{} diff --git a/cmd/kubeadm/app/util/dryrun/dryrun.go b/cmd/kubeadm/app/util/dryrun/dryrun.go index cf3b391b1a0..9cec35d553c 100644 --- a/cmd/kubeadm/app/util/dryrun/dryrun.go +++ b/cmd/kubeadm/app/util/dryrun/dryrun.go @@ -81,7 +81,7 @@ func NewWaiter() apiclient.Waiter { // WaitForAPI just returns a dummy nil, to indicate that the program should just proceed func (w *Waiter) WaitForAPI() error { - fmt.Println("[dryrun] Would wait for the API Server's /healthz endpoint to return 'ok'") + fmt.Println("[dryrun] Would wait for the API Server's /healthz endpoint to return 'ok'") return nil } @@ -99,7 +99,7 @@ func (w *Waiter) WaitForPodToDisappear(podName string) error { // WaitForHealthyKubelet blocks until the kubelet /healthz endpoint returns 'ok' func (w *Waiter) WaitForHealthyKubelet(_ time.Duration, healthzEndpoint string) error { - fmt.Printf("[dryrun] Would make sure the kubelet %q endpoint is healthy\n", healthzEndpoint) + fmt.Printf("[dryrun] Would make sure the kubelet %q endpoint is healthy\n", healthzEndpoint) return nil }