Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change port validation to support both string and int types #1190

Merged
merged 1 commit into from
Apr 28, 2024

Conversation

ksamoray
Copy link
Collaborator

@ksamoray ksamoray commented Apr 18, 2024

validateSinglePort() validates a string value and therefore unsuitable for use in this case.
Validator is modified to allow usage also when port type is int.
Fixes: #1186

@vmwclabot
Copy link
Member

@ksamoray, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <john.doe@email.org> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.

validateSinglePort() validates a string value and therefore unsuitable
for use in this case.
NSX will validate the port in any case.

Fixes: vmware#1186
Signed-off-by: Kobi Samoray <kobi.samoray@broadcom.com>
@ksamoray ksamoray changed the title Remove port validation from edge syslog config Change port validation to support both string and int types Apr 22, 2024
@ksamoray ksamoray requested a review from annakhm April 24, 2024 06:04
@annakhm
Copy link
Collaborator

annakhm commented Apr 25, 2024

/test-all

@ksamoray ksamoray merged commit 4904bd8 into vmware:master Apr 28, 2024
7 checks passed
@ksamoray ksamoray deleted the edge_port_check branch April 28, 2024 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nsx_edge_transport_node deploy failures (crash on syslog port + root object absent)
3 participants