Remove to set ArrayJobId on DB Init

This commit is contained in:
Jan Eitzinger 2022-09-12 14:51:51 +02:00
parent cca0722b01
commit 00fc5f4774

View File

@ -250,9 +250,6 @@ func SanityChecks(job *schema.BaseJob) error {
if len(job.Resources) != int(job.NumNodes) { if len(job.Resources) != int(job.NumNodes) {
return fmt.Errorf("len(resources) does not equal numNodes (%d vs %d)", len(job.Resources), job.NumNodes) return fmt.Errorf("len(resources) does not equal numNodes (%d vs %d)", len(job.Resources), job.NumNodes)
} }
if job.ArrayJobId == 0 {
job.ArrayJobId = job.JobID
}
return nil return nil
} }