Changing %v to %+v for composite structs. Removing a repetitive statement for the Aurora return code.

This commit is contained in:
Renan DelValle 2018-03-06 16:25:04 -08:00
parent 65fcb59879
commit bfd9e985c2
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
3 changed files with 22 additions and 25 deletions

View file

@ -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 {