Skip to content

Commit

Permalink
removed redundant comment
Browse files Browse the repository at this point in the history
Signed-off-by: Vasiliy Rumyantsev <4119114+xBazilio@users.noreply.github.com>
  • Loading branch information
xBazilio committed Oct 10, 2024
1 parent bca1cc9 commit e17a096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/store/bucket.go
Original file line number Diff line number Diff line change
Expand Up @@ -2145,7 +2145,7 @@ func (s *BucketStore) LabelValues(ctx context.Context, req *storepb.LabelValuesR
}

val := labelpb.ZLabelsToPromLabels(ls.GetSeries().Labels).Get(req.Label)
if val != "" { // Should never be empty since we added labelName!="" matcher to the list of matchers.
if val != "" {
values[val] = struct{}{}
}
}
Expand Down

0 comments on commit e17a096

Please sign in to comment.