Breaking Changes
Change in StartUpdate API API now retunrs a (*StartJobUpdateResult_, error) tuple instead of (*aurora.Response, error) Change in GetJobSummary API API now returns a []*aurora.JobUpdateSummary slice instead of (*aurora.Response, error)
This commit is contained in:
parent
d74833ac2b
commit
1c732146b1
7 changed files with 85 additions and 53 deletions
1
retry.go
1
retry.go
|
@ -182,6 +182,7 @@ func (r *realisClient) thriftCallWithRetries(
|
|||
// Allow caller to provide a function which checks if the original call was successful before
|
||||
// it timed out.
|
||||
if verifyOnTimeout != nil {
|
||||
|
||||
if verifyResp, ok := verifyOnTimeout(); ok {
|
||||
r.logger.debugPrint("verified that the call went through successfully")
|
||||
// Response here might be different than the original.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue