From 1cb5a83c4c88dc08cbc50b3591f91398ad817e0c Mon Sep 17 00:00:00 2001 From: yufansong Date: Fri, 2 Feb 2024 01:48:41 -0800 Subject: [PATCH] fix nits --- dashboard/pages/api/metric.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dashboard/pages/api/metric.ts b/dashboard/pages/api/metric.ts index 7fad567699cf8..61b7234579a63 100644 --- a/dashboard/pages/api/metric.ts +++ b/dashboard/pages/api/metric.ts @@ -48,11 +48,11 @@ export interface BackPressureRateInfo { function convertToMapAndAgg( back_pressures: BackPressureInfo[] ): Map { - // fragementId-downstreamFragementId, total value + // FragmentId-downstreamFragmentId, total value const map_value = new Map() - // fragementId-downstreamFragementId, total count + // FragmentId-downstreamFragmentId, total count const map_number = new Map() - // fragementId-downstreamFragementId, average value + // FragmentId-downstreamFragmentId, average value const map = new Map() for (const item of back_pressures) { const key = `${item.fragmentId}-${item.downstreamFragmentId}`