From 0c34c88a1f99c9527b622a01e0ede77673cbd188 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 6 Dec 2023 14:16:19 -0500 Subject: [PATCH] Fix bad dict key name --- client-cli/pvc/cli/formatters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-cli/pvc/cli/formatters.py b/client-cli/pvc/cli/formatters.py index 52c2ab98..ae7294d8 100644 --- a/client-cli/pvc/cli/formatters.py +++ b/client-cli/pvc/cli/formatters.py @@ -277,7 +277,7 @@ def cli_cluster_status_format_short(CLI_CONFIG, data): messages = "\n ".join( sorted( messages, - key=lambda x: (x["state"], x["health_delta"], x["last_reported"]), + key=lambda x: (x["status"], x["health_delta"], x["last_reported"]), reverse=True, ) )