Skip to content

Commit

Permalink
fix(ns): 修复就绪状态显示错误
Browse files Browse the repository at this point in the history
- 将 status.replicas 替换为 spec.replicas,以正确显示期望的副本数量
  • Loading branch information
weibaohui committed Dec 25, 2024
1 parent 0b64fc2 commit 91e8dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/pages/ns/deploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@
"name": "ready",
"label": "就绪",
"type": "tpl",
"tpl": "${status.readyReplicas||'0'}/${status.replicas}"
"tpl": "${status.readyReplicas||'0'}/${spec.replicas}"
},
{
"name": "metadata.labels",
Expand Down

0 comments on commit 91e8dbd

Please sign in to comment.