Fixes style issue with jobupdate file.

This commit is contained in:
Renan DelValle 2020-11-16 21:51:02 -08:00
parent caf1444250
commit 755f99fb76
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9

View file

@ -137,10 +137,11 @@ func (j *JobUpdate) SlaAware(slaAware bool) *JobUpdate {
j.request.Settings.SlaAware = &slaAware
return j
}
// AddInstanceRange allows updates to only touch a certain specific range of instances
func (j *JobUpdate) AddInstanceRange(first, last int32) *JobUpdate {
j.request.Settings.UpdateOnlyTheseInstances = append(j.request.Settings.UpdateOnlyTheseInstances,
&aurora.Range{First: first, Last: last})
&aurora.Range{First: first, Last: last})
return j
}