mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-19 23:09:18 +01:00
test
This commit is contained in:
parent
694e6a58fe
commit
c62034fbc3
@ -27,7 +27,7 @@ func (wr *WriteRequest) Reset() {
|
||||
// ResetTimeSeries clears all the GC references from tss and returns an empty tss ready for further use.
|
||||
func ResetTimeSeries(tss []TimeSeries) []TimeSeries {
|
||||
clear(tss)
|
||||
return tss[:0]
|
||||
return make([]TimeSeries, 0)
|
||||
}
|
||||
|
||||
// MustParsePromMetrics parses metrics in Prometheus text exposition format from s and returns them.
|
||||
|
Loading…
Reference in New Issue
Block a user