diff --git a/dashboard-ui-v2/src/components/upgrade-modal.tsx b/dashboard-ui-v2/src/components/upgrade-modal.tsx index 89e9cee417..9237884d92 100644 --- a/dashboard-ui-v2/src/components/upgrade-modal.tsx +++ b/dashboard-ui-v2/src/components/upgrade-modal.tsx @@ -56,7 +56,7 @@ const UpgradeModal: React.FC<{ onMessage: async (msg) => { setData((prev) => prev + msg.data) if (msg.data.includes('SUCCESS Upgrade mount pod and recreate one: ')) { - const regex = /SUCCESS Upgrade mount pod and recreate one: (.+)"/ + const regex = /SUCCESS Upgrade mount pod and recreate one: ([a-zA-Z0-9\-]+)"/ const match = msg.data.match(regex) if (match && match[1]) {