Skip to content

Commit

Permalink
#389: fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Maximov committed Mar 25, 2024
1 parent 865fc53 commit 457e2c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pool/connection_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -1426,7 +1426,8 @@ func (p *ConnectionPool) controller(ctx context.Context, e *endpoint) {
// if ro/rw was updated.
if e.conn == nil {
if err = p.tryConnect(ctx, e); err != nil {
log.Printf("tarantool: reopen connection to %s failed: %s\n", e.name, err)
log.Printf("tarantool: reopen connection to %s failed: %s\n",
e.name, err)
}
} else if !e.conn.ClosedNow() {
p.updateConnection(e)
Expand Down

0 comments on commit 457e2c9

Please sign in to comment.