From 25033b7919d0d1872047459a132a7c3c8262e7c0 Mon Sep 17 00:00:00 2001 From: Nurzhan Saktaganov Date: Fri, 20 Sep 2024 01:04:00 +0300 Subject: [PATCH] Apply suggestions from code review (2) Co-authored-by: Oleg Jukovec --- connection.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/connection.go b/connection.go index 52af2d9cf..68efbb64b 100644 --- a/connection.go +++ b/connection.go @@ -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 " + + "(probably cancelled request)", + conn.Addr(), header.RequestId) case LogWatchEventReadFailed: err := v[0].(error) log.Printf("tarantool: unable to parse watch event: %s", err)