From f4afeb0e8c1bee717c0e592c49e3ad12d5be285e Mon Sep 17 00:00:00 2001 From: nachi Date: Mon, 4 Nov 2024 10:55:26 -0800 Subject: [PATCH] Fixing SummarizedTraceDisplay to parse query summaries correctly. --- snuba/admin/static/rpc_endpoints/summarized_trace.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snuba/admin/static/rpc_endpoints/summarized_trace.tsx b/snuba/admin/static/rpc_endpoints/summarized_trace.tsx index bc943b8c91c..a69b785323d 100644 --- a/snuba/admin/static/rpc_endpoints/summarized_trace.tsx +++ b/snuba/admin/static/rpc_endpoints/summarized_trace.tsx @@ -52,7 +52,7 @@ function SummarizedTraceDisplay({ value, classes }: { value: TracingSummary, cla let dist_node; let nodes = []; - for (const [host, summary] of Object.entries(value.query_summaries)) { + for (const [_, summary] of Object.entries(value.query_summaries)) { if (summary.is_distributed) { dist_node = summary; } else {