Skip to content

Commit

Permalink
fix: node collector priority class (#234)
Browse files Browse the repository at this point in the history
Signed-off-by: chenk <hen.keinan@gmail.com>
  • Loading branch information
chen-keinan authored Oct 4, 2023
1 parent b6d055c commit d053b1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/jobs/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ func WithJobNamespace(namespace string) CollectorOption {
}
}

func WithPodPriorityClassName(priorityClassName string) JobOption {
return func(jc *JobBuilder) {
func WithPodPriorityClassName(priorityClassName string) CollectorOption {
return func(jc *jobCollector) {
jc.priorityClassName = priorityClassName
}
}
Expand Down

0 comments on commit d053b1c

Please sign in to comment.