Skip to content

Commit 25a81fb

Browse files
authored
chore(pts): pts replicas not correct (#176)
1 parent e2388c6 commit 25a81fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rootfs/api/models/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ def list_deployments(self, *args, **kwargs):
563563
'release': labels['version'],
564564
'ready': "%s/%s" % (
565565
p["status"].get("readyReplicas", 0),
566-
p["status"].get("replicas", 0),
566+
p['spec'].get("replicas", 0),
567567
),
568568
'garbage': False if labels['type'] in ptypes else True,
569569
'up_to_date': p["status"].get("updatedReplicas", 0),

0 commit comments

Comments
 (0)