mirror of
https://github.com/ansible/awx.git
synced 2026-03-27 13:55:04 -02:30
Include listener_port in the defaults for Instance.objects.register (#13328)
This commit is contained in:
@@ -158,7 +158,11 @@ class InstanceManager(models.Manager):
|
|||||||
return (False, instance)
|
return (False, instance)
|
||||||
|
|
||||||
# Create new instance, and fill in default values
|
# 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:
|
if defaults is not None:
|
||||||
create_defaults.update(defaults)
|
create_defaults.update(defaults)
|
||||||
uuid_option = {}
|
uuid_option = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user