Create job bevaviour does not override default batch size.

This commit is contained in:
Renan DelValle 2018-09-25 16:12:45 -07:00
parent e85781e6d4
commit 34066c30aa
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9

View file

@ -622,7 +622,6 @@ func (r *realisClient) CreateService(auroraJob Job, settings *aurora.JobUpdateSe
// Create a new job update object and ship it to the StartJobUpdate api
update := NewUpdateJob(auroraJob.TaskConfig(), settings)
update.InstanceCount(auroraJob.GetInstanceCount())
update.BatchSize(auroraJob.GetInstanceCount())
resp, err := r.StartJobUpdate(update, "")
if err != nil {