mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 08:23:34 +01:00
app/vmselect/netstorage: typo fix
This commit is contained in:
parent
59fb75717e
commit
f7f866d83b
@ -2201,7 +2201,7 @@ func (sn *storageNode) processSearchMetricNamesOnConn(bc *handshake.BufferedConn
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("cannot read metricNamesCount: %w", err)
|
return nil, fmt.Errorf("cannot read metricNamesCount: %w", err)
|
||||||
}
|
}
|
||||||
metricNames := make([][]byte, 0, metricNamesCount)
|
metricNames := make([][]byte, metricNamesCount)
|
||||||
for i := int64(0); i < int64(metricNamesCount); i++ {
|
for i := int64(0); i < int64(metricNamesCount); i++ {
|
||||||
buf, err = readBytes(buf[:0], bc, maxMetricNameSize)
|
buf, err = readBytes(buf[:0], bc, maxMetricNameSize)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user