Skip to content

Commit 25033b7

Browse files
Apply suggestions from code review (2)
Co-authored-by: Oleg Jukovec <oleg.jukovec@gmail.com>
1 parent 6051cf8 commit 25033b7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

connection.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,9 @@ func (d defaultLogger) Report(event ConnLogKind, conn *Connection, v ...interfac
100100
conn.Addr(), err)
101101
case LogUnexpectedResultId:
102102
header := v[0].(Header)
103-
log.Printf("tarantool: connection %s got unexpected request ID (%d) in response %s",
104-
conn.Addr(), header.RequestId, "(probably canceled request)")
103+
log.Printf("tarantool: connection %s got unexpected request ID (%d) in response " +
104+
"(probably cancelled request)",
105+
conn.Addr(), header.RequestId)
105106
case LogWatchEventReadFailed:
106107
err := v[0].(error)
107108
log.Printf("tarantool: unable to parse watch event: %s", err)

0 commit comments

Comments
 (0)