Skip to content

Commit

Permalink
Merge pull request volcano-sh#3377 from googs1025/master
Browse files Browse the repository at this point in the history
fix comment
  • Loading branch information
volcano-sh-bot authored Apr 1, 2024
2 parents a76f101 + 1a0137c commit 3dec7ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/controllers/job/job_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (cc *jobcontroller) Name() string {
return "job-controller"
}

// Initialize creates the new Job job controller.
// Initialize creates the new Job controller.
func (cc *jobcontroller) Initialize(opt *framework.ControllerOption) error {
cc.kubeClient = opt.KubeClient
cc.vcClient = opt.VolcanoClient
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/queue/queue_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (c *queuecontroller) Name() string {
return "queue-controller"
}

// NewQueueController creates a QueueController.
// Initialize creates QueueController from option.
func (c *queuecontroller) Initialize(opt *framework.ControllerOption) error {
c.vcClient = opt.VolcanoClient
c.kubeClient = opt.KubeClient
Expand Down
2 changes: 1 addition & 1 deletion pkg/scheduler/util/test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func BuildPodGroup(name, ns, queue string, minMember int32, taskMinMember map[st
}
}

// BuildPodGroup return podgroup
// BuildPodGroupWithPrio return podgroup with podgroup PriorityClassName
func BuildPodGroupWithPrio(name, ns, queue string, minMember int32, taskMinMember map[string]int32, status schedulingv1beta1.PodGroupPhase, prioName string) *schedulingv1beta1.PodGroup {
pg := BuildPodGroup(name, ns, queue, minMember, taskMinMember, status)
pg.Spec.PriorityClassName = prioName
Expand Down

0 comments on commit 3dec7ad

Please sign in to comment.