mirror of
https://github.com/ansible/awx.git
synced 2026-03-10 05:59:28 -02:30
Set initial value node_type and node_state
This commit is contained in:
committed by
Jeff Bradberry
parent
5b7a359c91
commit
c53228daf5
@@ -4913,7 +4913,7 @@ class InstanceSerializer(BaseSerializer):
|
||||
'ip_address',
|
||||
'listener_port',
|
||||
)
|
||||
extra_kwargs = {'node_type': {'default': 'execution'}, 'node_state': {'default': 'installed'}}
|
||||
extra_kwargs = {'node_type': {'initial': 'execution'}, 'node_state': {'initial': 'installed'}}
|
||||
|
||||
def get_related(self, obj):
|
||||
res = super(InstanceSerializer, self).get_related(obj)
|
||||
|
||||
Reference in New Issue
Block a user