From 755f99fb765532eb2f2f5979487f204657bacb89 Mon Sep 17 00:00:00 2001 From: Renan DelValle Date: Mon, 16 Nov 2020 21:51:02 -0800 Subject: [PATCH] Fixes style issue with jobupdate file. --- jobUpdate.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jobUpdate.go b/jobUpdate.go index cc2cd7f..3ef2cb4 100644 --- a/jobUpdate.go +++ b/jobUpdate.go @@ -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 }