Add one more instance of mirror as purple

This commit is contained in:
Joshua Boniface 2024-10-11 14:44:14 -04:00
parent 9a91767405
commit 7f7047dd52
1 changed files with 2 additions and 0 deletions

View File

@ -223,6 +223,8 @@ def cli_cluster_status_format_pretty(CLI_CONFIG, data):
state_colour = ansii["green"] state_colour = ansii["green"]
elif state in ["migrate", "disable", "provision", "mirror"]: elif state in ["migrate", "disable", "provision", "mirror"]:
state_colour = ansii["blue"] state_colour = ansii["blue"]
elif state in ["mirror"]:
state_colour = ansii["purple"]
elif state in ["stop", "fail"]: elif state in ["stop", "fail"]:
state_colour = ansii["red"] state_colour = ansii["red"]
else: else: