Changing from %v to %d for tieout debug print.

This commit is contained in:
Renan DelValle 2019-05-05 11:34:00 -07:00
parent 034f0087c4
commit b654756364
No known key found for this signature in database
GPG key ID: 3895800E03F17676

View file

@ -179,7 +179,7 @@ func (r *realisClient) thriftCallWithRetries(returnOnTimeout bool, thriftCall au
if e.Timeout() {
timeouts++
r.logger.DebugPrintf(
"Client closed connection (timedout) %v times before server responded, consider increasing connection timeout",
"Client closed connection (timedout) %d times before server responded, consider increasing connection timeout",
timeouts)
if returnOnTimeout {
return resp, newTimedoutError(errors.New("client connection closed before server answer"))