diff --git a/pkg/scheduler/actions/allocate/allocate.go b/pkg/scheduler/actions/allocate/allocate.go index 3c99eefc1b..d0a6dc0f92 100644 --- a/pkg/scheduler/actions/allocate/allocate.go +++ b/pkg/scheduler/actions/allocate/allocate.go @@ -79,7 +79,7 @@ func (alloc *Action) Execute(ssn *framework.Session) { func (alloc *Action) pickUpQueuesAndJobs(queues *util.PriorityQueue, jobsMap map[api.QueueID]*util.PriorityQueue) { ssn := alloc.session for _, job := range ssn.Jobs { - // If not config enqueue action, change Pending pg into Inqueue statue to avoid blocking job scheduling. + // If not config enqueue action, change Pending pg into Inqueue state to avoid blocking job scheduling. if job.IsPending() { if conf.EnabledActionMap["enqueue"] { klog.V(4).Infof("Job <%s/%s> Queue <%s> skip allocate, reason: job status is pending.", diff --git a/pkg/webhooks/admission/jobs/mutate/mutate_job.go b/pkg/webhooks/admission/jobs/mutate/mutate_job.go index 3e9668fb17..dde466a337 100644 --- a/pkg/webhooks/admission/jobs/mutate/mutate_job.go +++ b/pkg/webhooks/admission/jobs/mutate/mutate_job.go @@ -231,7 +231,7 @@ func patchDefaultPlugins(job *v1alpha1.Job) *patchOperation { plugins[k] = v } - // Because the tensorflow-plugin and mpi-plugin depends on svc-plugin. + // Because the tensorflow-plugin, mpi-plugin and pytorch-plugin depend on svc-plugin. // If the svc-plugin is not defined, we should add it. _, hasTf := job.Spec.Plugins[tensorflow.TFPluginName] _, hasMPI := job.Spec.Plugins[mpi.MPIPluginName]