diff --git a/realis.go b/realis.go index d064ab5..80b9139 100644 --- a/realis.go +++ b/realis.go @@ -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 }