Commit 59a6e658 authored by liangwenguo's avatar liangwenguo

fix grammar error: the predicate verb should be the third person.

parent d9f02d90
......@@ -28,7 +28,7 @@ import (
// depends on the generated defaults.
)
// NewKubeadmCommand return cobra.Command to run kubeadm command
// NewKubeadmCommand returns cobra.Command to run kubeadm command
func NewKubeadmCommand(in io.Reader, out, err io.Writer) *cobra.Command {
cmds := &cobra.Command{
Use: "kubeadm",
......
......@@ -63,7 +63,7 @@ var (
`+cmdutil.AlphaDisclaimer), kubeadmconstants.GetStaticPodFilepath(kubeadmconstants.KubeScheduler, kubeadmconstants.GetStaticPodDirectory()))
)
// NewCmdControlplane return main command for Controlplane phase
// NewCmdControlplane returns main command for Controlplane phase
func NewCmdControlplane() *cobra.Command {
cmd := &cobra.Command{
Use: "controlplane",
......
......@@ -45,7 +45,7 @@ var (
`)
)
// NewCmdEtcd return main command for Etcd phase
// NewCmdEtcd returns main command for Etcd phase
func NewCmdEtcd() *cobra.Command {
cmd := &cobra.Command{
Use: "etcd",
......
......@@ -75,7 +75,7 @@ var (
`)
)
// NewCmdKubeConfig return main command for kubeconfig phase
// NewCmdKubeConfig returns main command for kubeconfig phase
func NewCmdKubeConfig(out io.Writer) *cobra.Command {
cmd := &cobra.Command{
Use: "kubeconfig",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment