tiup
tiup copied to clipboard
pkg/utils: fix get free port from ipv6 host
What problem does this PR solve?
tiup playground can not specify an ipv6 host.
What is changed and how it works?
Use the correct function to join host port.
Check List
Tests
- Unit test
- Integration test
- Manual test (add detailed scripts or steps below)
- No code
Code changes
- Has exported function/method change
- Has exported variable/fields change
- Has interface methods change
- Has persistent data change
Side effects
- Possible performance regression
- Increased code complexity
- Breaking backward compatibility
Related changes
- Need to cherry-pick to the release branch
- Need to update the documentation
Release notes:
Fix playground cannot specify ipv6 host
/cc @AstroProfundis
Does TiDB support ipv6 now?