mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 10:57:35 -02:30
[hop_node] Validate listener_port is defined for peers (#14056)
add peer listener_port validation and update install bundle if listener_port is defined or not defined.
This commit is contained in:
committed by
Seth Foster
parent
148111a072
commit
40fca6db57
@@ -178,7 +178,8 @@ class Instance(HasPolicyEditsMixin, BaseModel):
|
||||
)
|
||||
listener_port = models.PositiveIntegerField(
|
||||
blank=True,
|
||||
default=27199,
|
||||
null=True,
|
||||
default=None,
|
||||
validators=[MinValueValidator(1), MaxValueValidator(65535)],
|
||||
help_text=_("Port that Receptor will listen for incoming connections on."),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user