From fcc81eea650fbb1c8827b2004f46b6662970f4a0 Mon Sep 17 00:00:00 2001 From: Kambiz Aghaiepour Date: Thu, 9 Feb 2023 09:05:39 -0500 Subject: [PATCH] Don't show broken hosts in retired list Fixes: https://github.com/redhat-performance/quads/issues/424 Change-Id: I83a4d4ce85503a0b9b6de21b12a5dd9ddfe727f3 --- quads/cli/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quads/cli/cli.py b/quads/cli/cli.py index 73e9d8c06..d812c058c 100644 --- a/quads/cli/cli.py +++ b/quads/cli/cli.py @@ -242,7 +242,7 @@ def action_version(self): self.logger.info(self.quads.get_version()) def action_ls_broken(self): - _hosts = Host.objects(broken=True) + _hosts = Host.objects(broken=True, retired=False) for host in _hosts: self.logger.info(host.name)