[pve-devel] [PATCH manager 13/20] ceph: mds: adapt creation api path to the mon/mgr scheme

Dominik Csapak d.csapak at proxmox.com
Tue Jun 4 14:47:52 CEST 2019


so no name in the path

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 PVE/API2/Ceph/MDS.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Ceph/MDS.pm b/PVE/API2/Ceph/MDS.pm
index 532eb404..5aa59c0f 100644
--- a/PVE/API2/Ceph/MDS.pm
+++ b/PVE/API2/Ceph/MDS.pm
@@ -88,7 +88,7 @@ __PACKAGE__->register_method ({
 
 __PACKAGE__->register_method ({
     name => 'createmds',
-    path => '{name}',
+    path => '',
     method => 'POST',
     description => "Create Ceph Metadata Server (MDS)",
     proxyto => 'node',
-- 
2.11.0





More information about the pve-devel mailing list