Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Joinhostport added wherever required (#323)
Replaced `fmt.Sprintf` with `net.JoinHostPort`, because `fmt.Sprintf` will cause issues in IPv6. The best practice is to use net.JoinHostPort Results: Fixed SemGrep complaint to use JoinHostPort instead of Sprintf for network address construction. Signed-off-by: nisarg1499 <[email protected]>
- Loading branch information