Minor style changes

This commit is contained in:
Renan DelValle 2016-08-09 13:31:15 -07:00
parent 37be87d609
commit a83956cb24
2 changed files with 2 additions and 2 deletions

2
job.go
View file

@ -103,7 +103,7 @@ func (a *Job) CPU(cpus float64) *Job {
return a
}
func (a *Job) Ram(ram int64) *Job {
func (a *Job) RAM(ram int64) *Job {
a.ramMb.RamMb = &ram
a.jobConfig.TaskConfig.RamMb = ram //Will be deprecated soon

View file

@ -36,7 +36,7 @@ func NewUpdateJob(job *Job) *UpdateJob {
req.Settings.RollbackOnFailure = true
req.Settings.WaitForBatchCompletion = false
//TODO(rdelvalle): Deep copy job
//TODO(rdelvalle): Deep copy job struct to avoid unexpected behavior
return &UpdateJob{job, req}
}