mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/protoparser/clusternative: typo fix after 4fddcf4c83
This commit is contained in:
parent
cf87050d83
commit
a47754b689
1 changed files with 2 additions and 2 deletions
|
@ -109,8 +109,8 @@ func sendAck(bc *handshake.BufferedConn, status byte) error {
|
|||
}
|
||||
b := auxBufPool.Get()
|
||||
defer auxBufPool.Put(b)
|
||||
b.B[0] = status
|
||||
if _, err := bc.Write(b.B[:1]); err != nil {
|
||||
b.B = append(b.B[:0], status)
|
||||
if _, err := bc.Write(b.B); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := bc.Flush(); err != nil {
|
||||
|
|
Loading…
Reference in a new issue