lib/protoparser/clusternative: remove duplicate cannot read packet size phrase from the log message

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1336
This commit is contained in:
Aliaksandr Valialkin 2021-05-27 12:08:47 +03:00
parent c85084b659
commit 49490ae5a7

View File

@ -50,7 +50,7 @@ func ParseStream(bc *handshake.BufferedConn, callback func(rows []storage.Metric
putUnmarshalWork(uw)
return nil
}
return fmt.Errorf("cannot read packet size: %w", err)
return err
}
blocksRead.Inc()
wg.Add(1)