Browse Source

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

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

2
storage/remote/queue_manager_test.go

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

Loading…
Cancel
Save