Skip to content

Commit

Permalink
only in series api
Browse files Browse the repository at this point in the history
  • Loading branch information
yuchen-db committed Dec 16, 2024
1 parent f4b67b7 commit 5387305
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/store/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ func (s *ProxyStore) LabelNames(ctx context.Context, originalRequest *storepb.La
if s.debugLogging {
reqLogger = log.With(reqLogger, "request", originalRequest.String())
}
match, matchers, err := matchesExternalLabels(originalRequest.Matchers, s.selectorLabels, s.matcherConverter, true)
match, matchers, err := matchesExternalLabels(originalRequest.Matchers, s.selectorLabels, s.matcherConverter, false)
if err != nil {
return nil, status.Error(codes.InvalidArgument, err.Error())
}
Expand Down Expand Up @@ -583,7 +583,7 @@ func (s *ProxyStore) LabelValues(ctx context.Context, originalRequest *storepb.L
return nil, status.Error(codes.InvalidArgument, "label name parameter cannot be empty")
}

match, matchers, err := matchesExternalLabels(originalRequest.Matchers, s.selectorLabels, s.matcherConverter, true)
match, matchers, err := matchesExternalLabels(originalRequest.Matchers, s.selectorLabels, s.matcherConverter, false)
if err != nil {
return nil, status.Error(codes.InvalidArgument, err.Error())
}
Expand Down

0 comments on commit 5387305

Please sign in to comment.