mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -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',
|
'ip_address',
|
||||||
'listener_port',
|
'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):
|
def get_related(self, obj):
|
||||||
res = super(InstanceSerializer, self).get_related(obj)
|
res = super(InstanceSerializer, self).get_related(obj)
|
||||||
|
|||||||
Reference in New Issue
Block a user