From 0d67b4b9faf3efb90944c2685ed14e1d48d4a3dd Mon Sep 17 00:00:00 2001 From: guoguodan <58167141+guoguodan@users.noreply.github.com> Date: Thu, 1 Jul 2021 11:51:00 +0800 Subject: [PATCH] Update util.go (#371) update misspelled word --- pkg/yurtctl/util/kubernetes/util.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/yurtctl/util/kubernetes/util.go b/pkg/yurtctl/util/kubernetes/util.go index f998221e8f5..cc84cdc4df5 100644 --- a/pkg/yurtctl/util/kubernetes/util.go +++ b/pkg/yurtctl/util/kubernetes/util.go @@ -74,7 +74,7 @@ var ( WaitServantJobTimeout = time.Minute * 2 // CheckServantJobPeriod defines the time interval between two successive ServantJob statu's inspection CheckServantJobPeriod = time.Second * 10 - // ValidServerVersions contains all compatable server version + // ValidServerVersions contains all compatible server version // yurtctl only support Kubernetes 1.12+ - 1.16+ for now ValidServerVersions = []string{ "1.12", "1.12+", @@ -424,7 +424,7 @@ func RunJobAndCleanup(cliSet *kubernetes.Clientset, job *batchv1.Job, timeout, p } } -// RunServantJobs launchs servant jobs on specified edge nodes +// RunServantJobs launch servant jobs on specified edge nodes func RunServantJobs(cliSet *kubernetes.Clientset, tmplCtx map[string]string, edgeNodeNames []string, convert bool) error { var wg sync.WaitGroup servantJobTemplate := constants.ConvertServantJobTemplate