mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-29 10:21:01 -06:00
fa676bde7c
This commit makes two changes to the provisioner connection block code: - Change the `port` argument type from string to number, which is technically more correct and consistent with `bastion_port`; - Use `uint16` as the struct member type for both ports instead of `int`, which gets us free range validation from the gocty package. Includes a test of the validation message when the port number is an invalid integer. |
||
---|---|---|
.. | ||
remote | ||
shared | ||
ssh | ||
winrm | ||
communicator_mock.go | ||
communicator_test.go | ||
communicator.go |