mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
ef3f6d5e3f
Previous to this commit, the API response would include Gateway Addresses in the form `domain.name.:8080`, which due to the addition of the port is probably not the expected response. This commit rightTrims any `.` characters from the end of the domain before formatting the address to include the port resulting in `domain.name:8080`