Fix bad dict key name
This commit is contained in:
parent
20acf3295f
commit
0c34c88a1f
|
@ -277,7 +277,7 @@ def cli_cluster_status_format_short(CLI_CONFIG, data):
|
||||||
messages = "\n ".join(
|
messages = "\n ".join(
|
||||||
sorted(
|
sorted(
|
||||||
messages,
|
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,
|
reverse=True,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue