mirror of
https://github.com/prometheus/prometheus
synced 2024-12-22 06:30:08 +00:00
Labels: Call NewScratchBuilder in test_utils
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
parent
cc5dc6a61b
commit
bb82a57e64
@ -50,7 +50,7 @@ func ReadLabels(fn string, n int) ([]Labels, error) {
|
||||
defer f.Close()
|
||||
|
||||
scanner := bufio.NewScanner(f)
|
||||
b := ScratchBuilder{}
|
||||
b := NewScratchBuilder(0)
|
||||
|
||||
var mets []Labels
|
||||
hashes := map[uint64]struct{}{}
|
||||
|
Loading…
Reference in New Issue
Block a user