Fixes style issue with jobupdate file.
This commit is contained in:
parent
caf1444250
commit
755f99fb76
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue