Minor style changes
This commit is contained in:
parent
37be87d609
commit
a83956cb24
2 changed files with 2 additions and 2 deletions
2
job.go
2
job.go
|
@ -103,7 +103,7 @@ func (a *Job) CPU(cpus float64) *Job {
|
||||||
return a
|
return a
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *Job) Ram(ram int64) *Job {
|
func (a *Job) RAM(ram int64) *Job {
|
||||||
a.ramMb.RamMb = &ram
|
a.ramMb.RamMb = &ram
|
||||||
a.jobConfig.TaskConfig.RamMb = ram //Will be deprecated soon
|
a.jobConfig.TaskConfig.RamMb = ram //Will be deprecated soon
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ func NewUpdateJob(job *Job) *UpdateJob {
|
||||||
req.Settings.RollbackOnFailure = true
|
req.Settings.RollbackOnFailure = true
|
||||||
req.Settings.WaitForBatchCompletion = false
|
req.Settings.WaitForBatchCompletion = false
|
||||||
|
|
||||||
//TODO(rdelvalle): Deep copy job
|
//TODO(rdelvalle): Deep copy job struct to avoid unexpected behavior
|
||||||
return &UpdateJob{job, req}
|
return &UpdateJob{job, req}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue