change the term unhealthy to error

This commit is contained in:
Rebeccah
2022-02-11 12:37:15 -05:00
parent 9d0de57fae
commit c2bf9d94be

View File

@@ -4790,7 +4790,7 @@ class InstanceNodeSerializer(BaseSerializer):
def get_node_state(self, obj):
if not obj.enabled:
return "disabled"
return "unhealthy" if obj.errors else "healthy"
return "error" if obj.errors else "healthy"
class InstanceSerializer(BaseSerializer):