diff --git a/storage/remote/codec.go b/storage/remote/codec.go index cf43c390f..3063b64f9 100644 --- a/storage/remote/codec.go +++ b/storage/remote/codec.go @@ -91,8 +91,8 @@ func ToQuery(from, to int64, matchers []*labels.Matcher, p *storage.SelectParams if err != nil { return nil, err } - var rp *prompb.ReadHints = nil + var rp *prompb.ReadHints if p != nil { rp = &prompb.ReadHints{ StepMs: p.Step,