Changing %v to %+v for composite structs. Removing a repetitive statement for the Aurora return code.
This commit is contained in:
parent
65fcb59879
commit
bfd9e985c2
3 changed files with 22 additions and 25 deletions
3
retry.go
3
retry.go
|
@ -173,9 +173,6 @@ func (r *realisClient) thriftCallWithRetries(thriftCall auroraThriftCall) (*auro
|
|||
return nil, errors.New("Response from aurora is nil")
|
||||
}
|
||||
|
||||
// Log response code for debugging
|
||||
r.debugLogger.Printf("Aurora replied with code: %v\n", resp.GetResponseCode().String())
|
||||
|
||||
// Check Response Code from thrift and make a decision to continue retrying or not.
|
||||
switch responseCode := resp.GetResponseCode(); responseCode {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue