mirror of
https://github.com/ansible/awx.git
synced 2026-03-19 09:57:33 -02:30
change the term unhealthy to error
This commit is contained in:
@@ -4790,7 +4790,7 @@ class InstanceNodeSerializer(BaseSerializer):
|
|||||||
def get_node_state(self, obj):
|
def get_node_state(self, obj):
|
||||||
if not obj.enabled:
|
if not obj.enabled:
|
||||||
return "disabled"
|
return "disabled"
|
||||||
return "unhealthy" if obj.errors else "healthy"
|
return "error" if obj.errors else "healthy"
|
||||||
|
|
||||||
|
|
||||||
class InstanceSerializer(BaseSerializer):
|
class InstanceSerializer(BaseSerializer):
|
||||||
|
|||||||
Reference in New Issue
Block a user