add SlaRestartInstances api
This commit is contained in:
parent
2d81147aaa
commit
9e166fae54
2 changed files with 49 additions and 0 deletions
|
@ -284,3 +284,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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue