Skip to content

Commit

Permalink
Correctly pass down warnings/errors to SeriesSet
Browse files Browse the repository at this point in the history
When the errors/warnings were moved to this SeriesSet apparently we
weren't setting it through to the struct properly. This meant that
errors/warnings were being ignored!

Fixes #402
  • Loading branch information
jacksontj committed Apr 9, 2021
1 parent f9cc509 commit ce289f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/proxyquerier/series_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ import (
// NewSeriesSet returns a SeriesSet for the given series
func NewSeriesSet(series []storage.Series, warnings storage.Warnings, err error) *SeriesSet {
return &SeriesSet{
series: series,
series: series,
warnings: warnings,
err: err,
}
}

Expand Down

0 comments on commit ce289f2

Please sign in to comment.