mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
lib/handshake: typo fix after ef80a89a24
: SetReadDeadline -> SetWriteDeadline
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5327
This commit is contained in:
parent
ef80a89a24
commit
a0f02d06d7
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ func (bc *BufferedConn) SetReadDeadline(t time.Time) error {
|
|||
// Deadline is checked on each Write call.
|
||||
func (bc *BufferedConn) SetWriteDeadline(t time.Time) error {
|
||||
bc.writeDeadline = t
|
||||
return bc.Conn.SetReadDeadline(t)
|
||||
return bc.Conn.SetWriteDeadline(t)
|
||||
}
|
||||
|
||||
// Read reads up to len(p) from bc to p.
|
||||
|
|
Loading…
Reference in a new issue