]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Fixing agent URL 47903/head
authorRedouane Kachach <rkachach@redhat.com>
Wed, 28 Sep 2022 09:21:33 +0000 (11:21 +0200)
committerRedouane Kachach <rkachach@redhat.com>
Wed, 28 Sep 2022 09:21:33 +0000 (11:21 +0200)
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
src/pybind/mgr/cephadm/agent.py

index a968c74c612b42fefd23b55739fa2fc8a5b3a117..41a0b5b0b6adb4d6e3f09ea67a27aef1082b5526 100644 (file)
@@ -54,7 +54,7 @@ class AgentEndpoint:
 
     def configure_routes(self) -> None:
         d = cherrypy.dispatch.RoutesDispatcher()
-        d.connect(name='host-data', route='/data',
+        d.connect(name='host-data', route='/data/',
                   controller=self.host_data.POST,
                   conditions=dict(method=['POST']))
         cherrypy.tree.mount(None, '/', config={'/': {'request.dispatch': d}})