Skip to content

Commit

Permalink
Update util.go (#371)
Browse files Browse the repository at this point in the history
update misspelled word
  • Loading branch information
guoguodan authored Jul 1, 2021
1 parent 146a744 commit 0d67b4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/yurtctl/util/kubernetes/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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+",
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0d67b4b

Please sign in to comment.