From f136b23a7e5eed98a09e56c5a33d6d34a4daadf1 Mon Sep 17 00:00:00 2001 From: Jocelyn Collado-Kuri Date: Fri, 9 Jan 2026 15:04:57 -0800 Subject: [PATCH] remove redundant assignments --- pkg/tsdb/tempo/util/stream_util.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/tsdb/tempo/util/stream_util.go b/pkg/tsdb/tempo/util/stream_util.go index 72eea926981..2cf75631f25 100644 --- a/pkg/tsdb/tempo/util/stream_util.go +++ b/pkg/tsdb/tempo/util/stream_util.go @@ -26,7 +26,6 @@ func AppendHeadersToOutgoingContext(ctx context.Context, req *backend.RunStreamR // When we receive a new query request we should make sure that all incoming HTTP headers are being forwarding to the grpc stream request // this is to make sure that no headers are lost when we make the actual call to Tempo later on. func SetHeadersFromIncomingContext(ctx context.Context) (map[string]string, error) { - headers := map[string]string{} // get the plugin from context plugin := backend.PluginConfigFromContext(ctx)