From 3b03fdb1cf1f53e56177997fb86e13456c1ef0e9 Mon Sep 17 00:00:00 2001 From: baurine <2008.hbl@gmail.com> Date: Mon, 20 Dec 2021 12:56:31 +0800 Subject: [PATCH] comments --- pkg/utils/topology/monitor.go | 1 - ui/lib/apps/ContinuousProfiling/pages/List.tsx | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/utils/topology/monitor.go b/pkg/utils/topology/monitor.go index 534f93a76b..3d880e8a28 100644 --- a/pkg/utils/topology/monitor.go +++ b/pkg/utils/topology/monitor.go @@ -65,7 +65,6 @@ func FetchNgMonitoringTopology(ctx context.Context, etcdClient *clientv3.Client) continue } // RemainingKey looks like `ip:port/info` or `ip:port/ttl`. - // Currently it only has `ip:port/ttl`. remainingKey := key[len(ngMonitoringKeyPrefix):] keyParts := strings.Split(remainingKey, "/") if len(keyParts) != 2 { diff --git a/ui/lib/apps/ContinuousProfiling/pages/List.tsx b/ui/lib/apps/ContinuousProfiling/pages/List.tsx index a1f9591c13..0d6213eeb8 100644 --- a/ui/lib/apps/ContinuousProfiling/pages/List.tsx +++ b/ui/lib/apps/ContinuousProfiling/pages/List.tsx @@ -103,6 +103,7 @@ export default function Page() { minWidth: 100, maxWidth: 150, onRender: (rec) => { + // The following state will be refactored later by ngm if (rec.state === 'failed') { // all failed return (