Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
Bryan Boreham 2024-07-22 16:34:42 +01:00
parent 12bd92a25c
commit c037a3df84

View file

@ -949,7 +949,7 @@ func (m *mockQuerier) Select(_ context.Context, sortSeries bool, _ *SelectHints,
} else if len(m.resp) > 0 {
ret = make([]Series, 0, len(m.resp))
for _, l := range m.resp {
ret = append(ret, NewListSeries(labels.FromStrings("test", string(l)), nil))
ret = append(ret, NewListSeries(labels.FromStrings("test", l), nil))
}
}
if sortSeries {