Skip to content

Commit

Permalink
by default not deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
Avi-Robusta committed Jul 23, 2024
1 parent 0fbe4a1 commit 126155e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playbooks/robusta_playbooks/krr.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class KRRObject(BaseModel):
def __init__(self, **data):
pods = data.pop('pods', [])
super().__init__(**data)
self.current_pod_count = len([pod for pod in pods if not pod.get('deleted', True)])
self.current_pod_count = len([pod for pod in pods if not pod.get('deleted', False)])


class KRRRecommendedInfo(BaseModel):
Expand Down

0 comments on commit 126155e

Please sign in to comment.