prometheus/web/api/v1
Julien Pivotto 06e53b7ecf
API: Fix global URL when external address has no port (#8359)
* API: Fix global URL when external address has no port

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>

* Update test

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>

* Handle IPv6 correctly.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-02-05 12:45:44 +01:00
..
api_test.go API: Fix global URL when external address has no port (#8359) 2021-02-05 12:45:44 +01:00
api.go API: Fix global URL when external address has no port (#8359) 2021-02-05 12:45:44 +01:00