Adding missing indirection for adding GPU requirements to task.

This commit is contained in:
Renan DelValle 2019-09-10 15:00:13 -07:00 committed by Renan DelValle
parent b9db36520c
commit dbad078d95

5
job.go
View file

@ -136,6 +136,11 @@ func (j *AuroraJob) Disk(disk int64) *AuroraJob {
return j
}
func (j *AuroraJob) GPU(gpu int64) *AuroraJob {
j.task.GPU(gpu)
return j
}
func (j *AuroraJob) Tier(tier string) *AuroraJob {
j.task.Tier(tier)
return j