From ce289f289b27cbce60727397e5bcddd3158c0dcd Mon Sep 17 00:00:00 2001 From: Thomas Jackson Date: Fri, 9 Apr 2021 07:34:46 -0700 Subject: [PATCH] Correctly pass down warnings/errors to SeriesSet 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 --- pkg/proxyquerier/series_set.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/proxyquerier/series_set.go b/pkg/proxyquerier/series_set.go index f6ebf7578..96a7a272a 100644 --- a/pkg/proxyquerier/series_set.go +++ b/pkg/proxyquerier/series_set.go @@ -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, } }