]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/{prometheus,restful}: Fix url generation again 42886/head
authorSebastian Wagner <sewagner@redhat.com>
Mon, 23 Aug 2021 08:33:37 +0000 (10:33 +0200)
committerSebastian Wagner <sewagner@redhat.com>
Mon, 23 Aug 2021 09:00:24 +0000 (11:00 +0200)
commit45361ea9b3dab917a455bc37bc96aabd0bf64fcf
tree7c9264ea717d03618b845319db0b88b3d4e1d214
parent63ae3147b2c6f637c8316e6db63e21cf060d4914
mgr/{prometheus,restful}: Fix url generation again

Fixes

```
======================================================================
ERROR: test_standby (tasks.mgr.test_prometheus.TestPrometheus)
----------------------------------------------------------------------
urllib3.exceptions.LocationParseError: Failed to parse: http://172.21.15.71:7789metrics

```

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
src/pybind/mgr/mgr_util.py
src/pybind/mgr/prometheus/module.py
src/pybind/mgr/restful/module.py