Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

Commit

Permalink
Fixes style issue with jobupdate file.
Browse files Browse the repository at this point in the history
  • Loading branch information
ridv committed Nov 17, 2020
1 parent caf1444 commit 755f99f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jobUpdate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 755f99f

Please sign in to comment.