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

Commit

Permalink
fix index writer mock based on new AddSymbols interface
Browse files Browse the repository at this point in the history
Signed-off-by: Callum Styan <[email protected]>
  • Loading branch information
cstyan committed Jan 7, 2019
1 parent 19bd970 commit 7e9131d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mocks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type mockIndexWriter struct {
series []seriesSamples
}

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

0 comments on commit 7e9131d

Please sign in to comment.