From 984b754b40d3d9ed04f4c632457fc6fb103e7e8b Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 28 Oct 2019 11:54:02 -0500 Subject: [PATCH] mgr/orchestrator_cli: rename 'mds add' arg Signed-off-by: Sage Weil --- src/pybind/mgr/orchestrator_cli/module.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.39.5