return response object in case of noop update (#125)
Return response object such that end user can look into what went wrong when the response is nil. Cases like this occur when there is a no-op update.
This commit is contained in:
parent
5f667555dc
commit
4acb0d54a9
1 changed files with 1 additions and 1 deletions
|
@ -688,7 +688,7 @@ func (r *realisClient) CreateService(
|
|||
return resp, resp.GetResult_().GetStartJobUpdateResult_(), nil
|
||||
}
|
||||
|
||||
return nil, nil, errors.New("results object is nil")
|
||||
return resp, nil, errors.New("results object is nil")
|
||||
}
|
||||
|
||||
func (r *realisClient) ScheduleCronJob(auroraJob Job) (*aurora.Response, error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue