Skip to content

Commit

Permalink
Drop unneeded type cast (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
reshke authored Jul 19, 2023
1 parent d7d6509 commit f37d000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions router/rulerouter/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@ func (rst *RelayStateImpl) RelayFlush(waitForResp bool, replyCl bool) (txstatus.
}
}

var v *pgproto3.Query
v, buff = buff[0].(*pgproto3.Query), buff[1:]
var v pgproto3.FrontendMessage
v, buff = buff[0], buff[1:]
spqrlog.Zero.Debug().
Bool("waitForResp", waitForResp).
Bool("replyCl", replyCl).
Expand Down

0 comments on commit f37d000

Please sign in to comment.