]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/orchestrator_cli: rename 'mds add' arg
authorSage Weil <sage@redhat.com>
Mon, 28 Oct 2019 16:54:02 +0000 (11:54 -0500)
committerSage Weil <sage@redhat.com>
Mon, 28 Oct 2019 16:54:02 +0000 (11:54 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/orchestrator_cli/module.py

index d65cfbf7a6292b5b3b682c0dd3468334bed19a1b..8c94a1a2ab7b60ec2943f2c62e9ed8d8eeefdd96 100644 (file)
@@ -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)