mirror of
https://github.com/status-im/consul.git
synced 2025-03-01 22:00:42 +00:00
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`