app/vmselect/netstorage: typo fix after 61736e4a1d

This commit is contained in:
Aliaksandr Valialkin 2022-11-19 00:53:54 +02:00
parent 97eafbe4a7
commit 353b137ff0
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -1195,7 +1195,7 @@ func (tbfw *tmpBlocksFileWrapper) Finalize() ([]string, map[string]*blockAddrs,
dstAddrs, ok := addrsByMetricName[metricName]
if !ok {
orderedMetricNames = append(orderedMetricNames, metricName)
dstAddrs := &blockAddrs{}
dstAddrs = &blockAddrs{}
addrsByMetricName[metricName] = dstAddrs
}
dstAddrs.addrs = append(dstAddrs.addrs, m[metricName].addrs...)