From fb293b6a4cefae1279a34b5134cfd2fd81654ab4 Mon Sep 17 00:00:00 2001 From: Ian Billett Date: Thu, 3 Jun 2021 10:46:30 +0100 Subject: [PATCH] Update pkg/api/query/v1.go Co-authored-by: Kemal Akkoyun Signed-off-by: Ian Billett --- pkg/api/query/v1.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/query/v1.go b/pkg/api/query/v1.go index 5fc733a63c..9b8e11731f 100644 --- a/pkg/api/query/v1.go +++ b/pkg/api/query/v1.go @@ -817,7 +817,7 @@ func NewExemplarsHandler(client exemplars.UnaryClient, enablePartialResponse boo } tracing.DoInSpan(ctx, "retrieve_exemplars", func(ctx context.Context) { - exemplarsData, exemplarWarnings, exemplarError = client.Exemplars(r.Context(), req) + exemplarsData, exemplarWarnings, exemplarError = client.Exemplars(ctx, req) }) if exemplarError != nil {