From 0a1227c2b18809d52055df92e8606ec22c38753a Mon Sep 17 00:00:00 2001 From: liurui Date: Mon, 11 Mar 2019 11:19:39 +0800 Subject: [PATCH] fix typo --- cmd/kube-controller-manager/app/controllermanager.go | 2 +- cmd/kube-scheduler/app/options/options.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/kube-controller-manager/app/controllermanager.go b/cmd/kube-controller-manager/app/controllermanager.go index b6a0c9e5688..319ef1771d8 100644 --- a/cmd/kube-controller-manager/app/controllermanager.go +++ b/cmd/kube-controller-manager/app/controllermanager.go @@ -195,7 +195,7 @@ func Run(c *config.CompletedConfig, stopCh <-chan struct{}) error { var clientBuilder controller.ControllerClientBuilder if c.ComponentConfig.KubeCloudShared.UseServiceAccountCredentials { if len(c.ComponentConfig.SAController.ServiceAccountKeyFile) == 0 { - // It'c possible another controller process is creating the tokens for us. + // It's possible another controller process is creating the tokens for us. // If one isn't, we'll timeout and exit when our client builder is unable to create the tokens. klog.Warningf("--use-service-account-credentials was specified without providing a --service-account-private-key-file") } diff --git a/cmd/kube-scheduler/app/options/options.go b/cmd/kube-scheduler/app/options/options.go index 02e3b435190..871ff83bfca 100644 --- a/cmd/kube-scheduler/app/options/options.go +++ b/cmd/kube-scheduler/app/options/options.go @@ -177,7 +177,7 @@ func (o *Options) ApplyTo(c *schedulerappconfig.Config) error { } // use the loaded config file only, with the exception of --address and --port. This means that - // none of the deprectated flags in o.Deprecated are taken into consideration. This is the old + // none of the deprecated flags in o.Deprecated are taken into consideration. This is the old // behaviour of the flags we have to keep. c.ComponentConfig = *cfg