Skip to content

Commit

Permalink
Apply suggestions from code review (2)
Browse files Browse the repository at this point in the history
Co-authored-by: Oleg Jukovec <[email protected]>
  • Loading branch information
nurzhan-saktaganov and oleg-jukovec authored Sep 19, 2024
1 parent 6051cf8 commit 25033b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,9 @@ func (d defaultLogger) Report(event ConnLogKind, conn *Connection, v ...interfac
conn.Addr(), err)
case LogUnexpectedResultId:
header := v[0].(Header)
log.Printf("tarantool: connection %s got unexpected request ID (%d) in response %s",
conn.Addr(), header.RequestId, "(probably canceled request)")
log.Printf("tarantool: connection %s got unexpected request ID (%d) in response " +

Check failure on line 103 in connection.go

View workflow job for this annotation

GitHub Actions / golangci-lint

File is not `goimports`-ed (goimports)
"(probably cancelled request)",
conn.Addr(), header.RequestId)
case LogWatchEventReadFailed:
err := v[0].(error)
log.Printf("tarantool: unable to parse watch event: %s", err)
Expand Down

0 comments on commit 25033b7

Please sign in to comment.