mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 11:20:39 -03:30
change the term unhealthy to error
This commit is contained in:
parent
9d0de57fae
commit
c2bf9d94be
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user