Skip to content

Commit 8b7b234

Browse files
committed
capitalize the first letter of the prompt for consistency
1 parent 0e157cb commit 8b7b234

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

cmd/kubeadm/app/cmd/reset.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ func (r *Reset) Run(out io.Writer, client clientset.Interface, cfg *kubeadmapi.I
178178
}
179179

180180
// Try to unmount mounted directories under kubeadmconstants.KubeletRunDirectory in order to be able to remove the kubeadmconstants.KubeletRunDirectory directory later
181-
fmt.Printf("[reset] unmounting mounted directories in %q\n", kubeadmconstants.KubeletRunDirectory)
181+
fmt.Printf("[reset] Unmounting mounted directories in %q\n", kubeadmconstants.KubeletRunDirectory)
182182
umountDirsCmd := fmt.Sprintf("awk '$2 ~ path {print $2}' path=%s/ /proc/mounts | xargs -r umount", kubeadmconstants.KubeletRunDirectory)
183183

184184
klog.V(1).Infof("[reset] Executing command %q", umountDirsCmd)

cmd/kubeadm/app/phases/bootstraptoken/clusterinfo/clusterinfo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const (
4141
// CreateBootstrapConfigMapIfNotExists creates the kube-public ConfigMap if it doesn't exist already
4242
func CreateBootstrapConfigMapIfNotExists(client clientset.Interface, file string) error {
4343

44-
fmt.Printf("[bootstrap-token] creating the %q ConfigMap in the %q namespace\n", bootstrapapi.ConfigMapClusterInfo, metav1.NamespacePublic)
44+
fmt.Printf("[bootstrap-token] Creating the %q ConfigMap in the %q namespace\n", bootstrapapi.ConfigMapClusterInfo, metav1.NamespacePublic)
4545

4646
klog.V(1).Infoln("[bootstrap-token] loading admin kubeconfig")
4747
adminConfig, err := clientcmd.LoadFromFile(file)

cmd/kubeadm/app/phases/certs/renewal/certsapi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func (r *CertsAPIRenewal) Renew(cfg *certutil.Config) (*x509.Certificate, *rsa.P
9595
return nil, nil, errors.Wrap(err, "couldn't create certificate signing request")
9696
}
9797

98-
fmt.Printf("[certs] certificate request %q created\n", req.Name)
98+
fmt.Printf("[certs] Certificate request %q created\n", req.Name)
9999

100100
certData, err := csrutil.WaitForCertificate(r.client.CertificateSigningRequests(), req, watchTimeout)
101101
if err != nil {

cmd/kubeadm/app/phases/kubelet/kubelet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func TryStartKubelet() {
3939
// This runs "systemctl daemon-reload && systemctl restart kubelet"
4040
if err := initSystem.ServiceRestart("kubelet"); err != nil {
4141
fmt.Printf("[kubelet-start] WARNING: unable to start the kubelet service: [%v]\n", err)
42-
fmt.Printf("[kubelet-start] please ensure kubelet is reloaded and running manually.\n")
42+
fmt.Printf("[kubelet-start] Please ensure kubelet is reloaded and running manually.\n")
4343
}
4444
}
4545

cmd/kubeadm/app/phases/upgrade/staticpods.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ func upgradeComponent(component string, waiter apiclient.Waiter, pathMgr StaticP
195195
return err
196196
}
197197
if equal {
198-
fmt.Printf("[upgrade/staticpods] current and new manifests of %s are equal, skipping upgrade\n", component)
198+
fmt.Printf("[upgrade/staticpods] Current and new manifests of %s are equal, skipping upgrade\n", component)
199199
return nil
200200
}
201201

@@ -425,7 +425,7 @@ func StaticPodControlPlane(client clientset.Interface, waiter apiclient.Waiter,
425425
if fatal {
426426
return err
427427
}
428-
fmt.Printf("[upgrade/etcd] non fatal issue encountered during upgrade: %v\n", err)
428+
fmt.Printf("[upgrade/etcd] Non fatal issue encountered during upgrade: %v\n", err)
429429
}
430430
}
431431

cmd/kubeadm/app/phases/uploadconfig/uploadconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func ResetClusterStatusForNode(nodeName string, client clientset.Interface) erro
104104

105105
// UploadConfiguration saves the InitConfiguration used for later reference (when upgrading for instance)
106106
func UploadConfiguration(cfg *kubeadmapi.InitConfiguration, client clientset.Interface) error {
107-
fmt.Printf("[upload-config] storing the configuration used in ConfigMap %q in the %q Namespace\n", kubeadmconstants.KubeadmConfigConfigMap, metav1.NamespaceSystem)
107+
fmt.Printf("[upload-config] Storing the configuration used in ConfigMap %q in the %q Namespace\n", kubeadmconstants.KubeadmConfigConfigMap, metav1.NamespaceSystem)
108108

109109
// Prepare the ClusterConfiguration for upload
110110
// The components store their config in their own ConfigMaps, then reset the .ComponentConfig struct;

0 commit comments

Comments
 (0)