mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 06:58:06 -03:30
Set initial value node_type and node_state
This commit is contained in:
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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user