Skip to content

Commit

Permalink
Set initial value node_type and node_state
Browse files Browse the repository at this point in the history
  • Loading branch information
fosterseth authored and jbradberry committed Sep 23, 2022
1 parent 5b7a359 commit c53228d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -4913,7 +4913,7 @@ class Meta:
'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)
Expand Down

0 comments on commit c53228d

Please sign in to comment.