From bb82a57e640ec903a4d747b21d1fcb81d431166d Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Thu, 23 Nov 2023 17:10:44 +0000 Subject: [PATCH] Labels: Call NewScratchBuilder in test_utils Signed-off-by: Bryan Boreham --- model/labels/test_utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/labels/test_utils.go b/model/labels/test_utils.go index 05b816882..d060def48 100644 --- a/model/labels/test_utils.go +++ b/model/labels/test_utils.go @@ -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{}{}