Create job bevaviour does not override default batch size. (#75)

This commit is contained in:
Renan DelValle 2018-09-25 16:37:17 -07:00 committed by GitHub
parent e85781e6d4
commit 9ebf118e71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {