Skip to content

Commit c191b77

Browse files
committed
Fix build
Signed-off-by: Justin Jung <jungjust@amazon.com>
1 parent b13ae90 commit c191b77

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/querier/testutils.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ func (m *MockDistributor) QueryStream(ctx context.Context, from, to model.Time,
3333
args := m.Called(ctx, from, to, matchers)
3434
return args.Get(0).(*client.QueryStreamResponse), args.Error(1)
3535
}
36-
func (m *MockDistributor) LabelValuesForLabelName(ctx context.Context, from, to model.Time, label model.LabelName, hint *storage.LabelHints, partialDataEnabled bool, matchers ...*labels.Matcher) ([]string, error) {
36+
func (m *MockDistributor) LabelValuesForLabelName(ctx context.Context, from, to model.Time, lbl model.LabelName, hints *storage.LabelHints, partialDataEnabled bool, matchers ...*labels.Matcher) ([]string, error) {
3737
args := m.Called(ctx, from, to, lbl, hints, matchers)
3838
return args.Get(0).([]string), args.Error(1)
3939
}
40-
func (m *MockDistributor) LabelValuesForLabelNameStream(ctx context.Context, from, to model.Time, label model.LabelName, hint *storage.LabelHints, partialDataEnabled bool, matchers ...*labels.Matcher) ([]string, error) {
40+
func (m *MockDistributor) LabelValuesForLabelNameStream(ctx context.Context, from, to model.Time, lbl model.LabelName, hints *storage.LabelHints, partialDataEnabled bool, matchers ...*labels.Matcher) ([]string, error) {
4141
args := m.Called(ctx, from, to, lbl, hints, matchers)
4242
return args.Get(0).([]string), args.Error(1)
4343
}
@@ -49,11 +49,11 @@ func (m *MockDistributor) LabelNamesStream(ctx context.Context, from model.Time,
4949
args := m.Called(ctx, from, to, hints, matchers)
5050
return args.Get(0).([]string), args.Error(1)
5151
}
52-
func (m *MockDistributor) MetricsForLabelMatchers(ctx context.Context, from, through model.Time, hint *storage.SelectHints, partialDataEnabled bool, matchers ...*labels.Matcher) ([]model.Metric, error) {
52+
func (m *MockDistributor) MetricsForLabelMatchers(ctx context.Context, from, to model.Time, hints *storage.SelectHints, partialDataEnabled bool, matchers ...*labels.Matcher) ([]model.Metric, error) {
5353
args := m.Called(ctx, from, to, hints, matchers)
5454
return args.Get(0).([]model.Metric), args.Error(1)
5555
}
56-
func (m *MockDistributor) MetricsForLabelMatchersStream(ctx context.Context, from, through model.Time, hint *storage.SelectHints, partialDataEnabled bool, matchers ...*labels.Matcher) ([]model.Metric, error) {
56+
func (m *MockDistributor) MetricsForLabelMatchersStream(ctx context.Context, from, to model.Time, hints *storage.SelectHints, partialDataEnabled bool, matchers ...*labels.Matcher) ([]model.Metric, error) {
5757
args := m.Called(ctx, from, to, hints, matchers)
5858
return args.Get(0).([]model.Metric), args.Error(1)
5959
}

0 commit comments

Comments
 (0)