CreateJob now returns response object if available.
This commit is contained in:
parent
01911e47dd
commit
92224d0e1b
1 changed files with 1 additions and 1 deletions
|
@ -612,7 +612,7 @@ func (r *realisClient) CreateJob(auroraJob Job) (*aurora.Response, error) {
|
||||||
})
|
})
|
||||||
|
|
||||||
if retryErr != nil {
|
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
|
return resp, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue