mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
lint
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
parent
12bd92a25c
commit
c037a3df84
|
@ -949,7 +949,7 @@ func (m *mockQuerier) Select(_ context.Context, sortSeries bool, _ *SelectHints,
|
||||||
} else if len(m.resp) > 0 {
|
} else if len(m.resp) > 0 {
|
||||||
ret = make([]Series, 0, len(m.resp))
|
ret = make([]Series, 0, len(m.resp))
|
||||||
for _, l := range 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 {
|
if sortSeries {
|
||||||
|
|
Loading…
Reference in a new issue