Skip to content

Commit

Permalink
Merge pull request #3994 from xieyanke/master
Browse files Browse the repository at this point in the history
Fix: fix an issue where the wrong action name could not be ignored
  • Loading branch information
volcano-sh-bot authored Feb 24, 2025
2 parents d29ddf0 + 4903810 commit c41fdb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/scheduler/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
"strings"

"gopkg.in/yaml.v2"
"k8s.io/klog/v2"

"volcano.sh/volcano/pkg/scheduler/conf"
"volcano.sh/volcano/pkg/scheduler/framework"
Expand Down Expand Up @@ -80,7 +81,7 @@ func UnmarshalSchedulerConf(confStr string) ([]framework.Action, []conf.Tier, []
if action, found := framework.GetAction(strings.TrimSpace(actionName)); found {
actions = append(actions, action)
} else {
return nil, nil, nil, nil, fmt.Errorf("failed to find Action %s, ignore it", actionName)
klog.Errorf("Failed to find Action %s, ignore it", actionName)
}
}

Expand Down

0 comments on commit c41fdb1

Please # to comment.