[TESTS] remote-write: fix slice init length (#14702)

fix: fix slice init length
pull/14715/head
Bryan Boreham 3 months ago committed by GitHub
commit 95b3c49836
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -930,7 +930,7 @@ func createHistograms(numSamples, numSeries int, floatHistogram bool) ([]record.
}
func createSeriesMetadata(series []record.RefSeries) []record.RefMetadata {
metas := make([]record.RefMetadata, len(series))
metas := make([]record.RefMetadata, 0, len(series))
for _, s := range series {
metas = append(metas, record.RefMetadata{

Loading…
Cancel
Save