Labels: Call NewScratchBuilder in test_utils

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
Bryan Boreham 2023-11-23 17:10:44 +00:00
parent cc5dc6a61b
commit bb82a57e64
1 changed files with 1 additions and 1 deletions

View File

@ -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{}{}