Updating dependencies.
This commit is contained in:
parent
c03901c0f1
commit
6ce6411ee0
15 changed files with 2848 additions and 1327 deletions
3
vendor/github.com/paypal/gorealis/job.go
generated
vendored
3
vendor/github.com/paypal/gorealis/job.go
generated
vendored
|
@ -155,21 +155,18 @@ func (j *AuroraJob) ExecutorData(data string) Job {
|
|||
|
||||
func (j *AuroraJob) CPU(cpus float64) Job {
|
||||
*j.resources["cpu"].NumCpus = cpus
|
||||
j.jobConfig.TaskConfig.NumCpus = cpus //Will be deprecated soon
|
||||
|
||||
return j
|
||||
}
|
||||
|
||||
func (j *AuroraJob) RAM(ram int64) Job {
|
||||
*j.resources["ram"].RamMb = ram
|
||||
j.jobConfig.TaskConfig.RamMb = ram //Will be deprecated soon
|
||||
|
||||
return j
|
||||
}
|
||||
|
||||
func (j *AuroraJob) Disk(disk int64) Job {
|
||||
*j.resources["disk"].DiskMb = disk
|
||||
j.jobConfig.TaskConfig.DiskMb = disk //Will be deprecated
|
||||
|
||||
return j
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue