CreateJob now returns response object if available.

This commit is contained in:
Renan DelValle 2018-10-03 18:21:26 -07:00
parent 01911e47dd
commit 92224d0e1b
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9

View file

@ -612,7 +612,7 @@ func (r *realisClient) CreateJob(auroraJob Job) (*aurora.Response, error) {
})
if retryErr != nil {
return nil, errors.Wrap(retryErr, "Error sending Create command to Aurora Scheduler")
return resp, errors.Wrap(retryErr, "Error sending Create command to Aurora Scheduler")
}
return resp, nil
}