From 037da4b6d5ff195b0df904e70c1be0c880c7a1cc Mon Sep 17 00:00:00 2001 From: Raymond Lee Date: Fri, 6 Sep 2024 17:14:58 -0700 Subject: [PATCH] Revert "[Backport][Ray Dashboard] make memory profile href link relative path (#46564) (#15)" This reverts commit 1531ab35904bd79e2df56f8f6800c90c1da29e5f. --- dashboard/client/src/common/ProfilingLink.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/client/src/common/ProfilingLink.tsx b/dashboard/client/src/common/ProfilingLink.tsx index ccfb343c5468..75b49cd6ba49 100644 --- a/dashboard/client/src/common/ProfilingLink.tsx +++ b/dashboard/client/src/common/ProfilingLink.tsx @@ -312,7 +312,7 @@ export const MemoryProfilingButton = ({ if (!pid || !ip) { return
; } - const profilerUrl = `memory_profile?pid=${pid}&ip=${ip}`; + const profilerUrl = `/memory_profile?pid=${pid}&ip=${ip}`; return ; }; @@ -325,7 +325,7 @@ export const TaskMemoryProfilingButton = ({ if (!taskId) { return null; } - const profilerUrl = `memory_profile?task_id=${taskId}&attempt_number=${attemptNumber}&node_id=${nodeId}`; + const profilerUrl = `/memory_profile?task_id=${taskId}&attempt_number=${attemptNumber}&node_id=${nodeId}`; return ; };