Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: volcano-sh/volcano
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 71c8ab97bf5666b44682391c5921c4be1364db95
Choose a base ref
..
head repository: volcano-sh/volcano
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e78dbc1890cfe79145259da7a1871d9522aef758
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −0 pkg/scheduler/actions/allocate/allocate.go
  2. +0 −1 pkg/scheduler/framework/session_plugins.go
1 change: 1 addition & 0 deletions pkg/scheduler/actions/allocate/allocate.go
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@ import (
"time"

"k8s.io/klog/v2"

"volcano.sh/apis/pkg/apis/scheduling"
"volcano.sh/volcano/pkg/scheduler/api"
"volcano.sh/volcano/pkg/scheduler/conf"
1 change: 0 additions & 1 deletion pkg/scheduler/framework/session_plugins.go
Original file line number Diff line number Diff line change
@@ -776,7 +776,6 @@ func (ssn *Session) NodeOrderReduceFn(task *api.TaskInfo, pluginNodeScoreMap map

// GenericPredicateFn invoke generic predicate function of plugins
func (ssn *Session) GenericPredicateFn(a ...interface{}) error {

for _, tier := range ssn.Tiers {
for _, plugin := range tier.Plugins {
if !isEnabled(plugin.EnabledPredicate) {