This commit is contained in:
Tan N. Le 2021-11-05 15:48:35 +05:30 committed by GitHub
commit 0d4da131de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 107 additions and 0 deletions

View file

@ -294,3 +294,8 @@ func (j *JobUpdate) PartitionPolicy(reschedule bool, delay int64) *JobUpdate {
})
return j
}
func (j *JobUpdate) SlaPolicy(sla *aurora.SlaPolicy) *JobUpdate {
j.task.task.SlaPolicy = sla
return j
}