Skip to content
This repository was archived by the owner on Aug 13, 2019. It is now read-only.

Commit 1664379

Browse files
committed
fix index writer mock based on new AddSymbols interface
Signed-off-by: Callum Styan <[email protected]>
1 parent 52dadbc commit 1664379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mocks_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type mockIndexWriter struct {
2323
series []seriesSamples
2424
}
2525

26-
func (mockIndexWriter) AddSymbols(sym map[string]struct{}) error { return nil }
26+
func (mockIndexWriter) AddSymbols(sym map[string]int) error { return nil }
2727
func (m *mockIndexWriter) AddSeries(ref uint64, l labels.Labels, chunks ...chunks.Meta) error {
2828
i := -1
2929
for j, s := range m.series {

0 commit comments

Comments
 (0)