diff --git a/client-cli/pvc/cli/formatters.py b/client-cli/pvc/cli/formatters.py index ba039567..2026c25e 100644 --- a/client-cli/pvc/cli/formatters.py +++ b/client-cli/pvc/cli/formatters.py @@ -159,6 +159,8 @@ def cli_cluster_status_format_pretty(CLI_CONFIG, data): vms_strings = list() for state in vm_states: + if data.get("vms", {}).get(state) is None: + continue if state in ["start"]: state_colour = ansii["green"] elif state in ["migrate", "disable"]: