From 5387305ec6a5c8a30cfd343db533e1fe119a0582 Mon Sep 17 00:00:00 2001 From: Yuchen Wang Date: Mon, 16 Dec 2024 15:56:45 -0800 Subject: [PATCH] only in series api --- pkg/store/proxy.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/store/proxy.go b/pkg/store/proxy.go index 6a9108068d..a2ce71a92b 100644 --- a/pkg/store/proxy.go +++ b/pkg/store/proxy.go @@ -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()) } @@ -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()) }