mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-06 05:51:54 +00:00
update
This commit is contained in:
parent
e0e914659f
commit
41405513d5
@ -403,6 +403,10 @@ func (optimizer *Optimizer) PredictReq(job Job, role string) MsgJobReq {
|
||||
str := strings.Split(job.Name, "-")
|
||||
if len(str) == 2 {
|
||||
jobName = str[0]
|
||||
} else if len(str) == 1 {
|
||||
jobName = job.Name
|
||||
} else {
|
||||
return res
|
||||
}
|
||||
cmd := ""
|
||||
params := map[string]int{}
|
||||
|
Loading…
Reference in New Issue
Block a user