mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
Include listener_port in the defaults for Instance.objects.register (#13328)
This commit is contained in:
parent
821b1701bf
commit
8f6849fc22
@ -158,7 +158,11 @@ class InstanceManager(models.Manager):
|
||||
return (False, instance)
|
||||
|
||||
# Create new instance, and fill in default values
|
||||
create_defaults = {'node_state': Instance.States.INSTALLED, 'capacity': 0}
|
||||
create_defaults = {
|
||||
'node_state': Instance.States.INSTALLED,
|
||||
'capacity': 0,
|
||||
'listener_port': 27199,
|
||||
}
|
||||
if defaults is not None:
|
||||
create_defaults.update(defaults)
|
||||
uuid_option = {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user