Skip to content

Commit

Permalink
Show warnings for lazySeriesSet
Browse files Browse the repository at this point in the history
  • Loading branch information
zenador committed Dec 18, 2024
1 parent fbfa8e9 commit b8a94d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/storage/lazyquery/lazyquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,8 @@ func (s *lazySeriesSet) Err() error {

// Warnings implements storage.SeriesSet.
func (s *lazySeriesSet) Warnings() annotations.Annotations {
return nil
if s.next == nil {
s.next = <-s.future
}
return s.next.Warnings()
}

0 comments on commit b8a94d9

Please sign in to comment.