From: Sage Weil Date: Mon, 28 Oct 2019 16:54:02 +0000 (-0500) Subject: mgr/orchestrator_cli: rename 'mds add' arg X-Git-Tag: v15.1.0~1123^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=984b754b40d3d9ed04f4c632457fc6fb103e7e8b;p=ceph.git mgr/orchestrator_cli: rename 'mds add' arg Signed-off-by: Sage Weil --- diff --git a/src/pybind/mgr/orchestrator_cli/module.py b/src/pybind/mgr/orchestrator_cli/module.py index d65cfbf7a6292..8c94a1a2ab7b6 100644 --- a/src/pybind/mgr/orchestrator_cli/module.py +++ b/src/pybind/mgr/orchestrator_cli/module.py @@ -237,13 +237,13 @@ Usage: return HandleCommandResult(stdout=completion.result_str()) @_write_cli('orchestrator mds add', - "name=svc_arg,type=CephString " + "name=fs_name,type=CephString " "name=num,type=CephInt,req=false " "name=hosts,type=CephString,n=N,req=false", 'Create an MDS service') - def _mds_add(self, svc_arg, num, hosts): + def _mds_add(self, fs_name, num, hosts): spec = orchestrator.StatelessServiceSpec( - svc_arg, + fs_name, placement=orchestrator.PlacementSpec(nodes=hosts), count=num or 1) completion = self.add_mds(spec)