vmware / terraform-provider-nsxt

Terraform VMware NSX-T provider
https://www.terraform.io/docs/providers/nsxt/
Other
128 stars 83 forks source link

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

Closed ksamoray closed 4 months ago

ksamoray commented 4 months ago

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 commented 4 months ago

@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.

annakhm commented 4 months ago

/test-all