Adds priority for aurora-scheduler (#13)

Adds priority for task config
This commit is contained in:
lenhattan86 2021-09-16 16:29:25 -07:00 committed by GitHub
parent 983bf44b9f
commit 425faf28b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 1 deletions

View file

@ -221,6 +221,11 @@ func (j *JobUpdate) IsService(isService bool) *JobUpdate {
return j
}
func (j *JobUpdate) Priority(priority int32) *JobUpdate {
j.task.Priority(priority)
return j
}
func (j *JobUpdate) TaskConfig() *aurora.TaskConfig {
return j.task.TaskConfig()
}