mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #66657 from liangwenguo/third_person
Automatic merge from submit-queue (batch tested with PRs 66491, 66587, 66856, 66657, 66923). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. fix grammar error: the predicate verb should be singular. **What this PR does / why we need it**: **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
This commit is contained in:
commit
4ff782df81
@ -28,7 +28,7 @@ import (
|
|||||||
// depends on the generated defaults.
|
// 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 {
|
func NewKubeadmCommand(in io.Reader, out, err io.Writer) *cobra.Command {
|
||||||
cmds := &cobra.Command{
|
cmds := &cobra.Command{
|
||||||
Use: "kubeadm",
|
Use: "kubeadm",
|
||||||
|
@ -63,7 +63,7 @@ var (
|
|||||||
`+cmdutil.AlphaDisclaimer), kubeadmconstants.GetStaticPodFilepath(kubeadmconstants.KubeScheduler, kubeadmconstants.GetStaticPodDirectory()))
|
`+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 {
|
func NewCmdControlplane() *cobra.Command {
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "controlplane",
|
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 {
|
func NewCmdEtcd() *cobra.Command {
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "etcd",
|
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 {
|
func NewCmdKubeConfig(out io.Writer) *cobra.Command {
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "kubeconfig",
|
Use: "kubeconfig",
|
||||||
|
Loading…
Reference in New Issue
Block a user