]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/{prometheus,restful}: Fix url generation again 42990/head
authorSebastian Wagner <sewagner@redhat.com>
Mon, 23 Aug 2021 08:33:37 +0000 (10:33 +0200)
committerErnesto Puerta <epuertat@redhat.com>
Tue, 31 Aug 2021 10:37:17 +0000 (12:37 +0200)
commita3a7b84bda75beba87defd45b59cc7e631abc47d
tree9ebfd26176843d17dcbfa256181372e3e11aa94f
parent2115d19d1d0e5b0062c8f76ee566c74511e8f2ad
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>
(cherry picked from commit 45361ea9b3dab917a455bc37bc96aabd0bf64fcf)
src/pybind/mgr/mgr_util.py
src/pybind/mgr/prometheus/module.py
src/pybind/mgr/restful/module.py