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()
|
defer f.Close()
|
||||||
|
|
||||||
scanner := bufio.NewScanner(f)
|
scanner := bufio.NewScanner(f)
|
||||||
b := ScratchBuilder{}
|
b := NewScratchBuilder(0)
|
||||||
|
|
||||||
var mets []Labels
|
var mets []Labels
|
||||||
hashes := map[uint64]struct{}{}
|
hashes := map[uint64]struct{}{}
|
||||||
|
|
Loading…
Reference in New Issue