]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/nfs: reorder 'nfs export create cephfs' arguments
authorSage Weil <sage@newdream.net>
Wed, 20 Oct 2021 19:39:03 +0000 (15:39 -0400)
committerSage Weil <sage@newdream.net>
Tue, 2 Nov 2021 21:06:58 +0000 (17:06 -0400)
Put fsname after cluster_id + pseudo_path so that it aligns with the change
to the rgw command.

Signed-off-by: Sage Weil <sage@newdream.net>
src/pybind/mgr/nfs/module.py

index 0bc3ab63e220a39ceff08fce78077e10c5e2904d..8eef68f2369ded8b6f559f5b74463fa9cf84be37 100644 (file)
@@ -27,9 +27,9 @@ class Module(orchestrator.OrchestratorClientMixin, MgrModule):
     @CLICommand('nfs export create cephfs', perm='rw')
     def _cmd_nfs_export_create_cephfs(
             self,
-            fsname: str,
             cluster_id: str,
             pseudo_path: str,
+            fsname: str,
             path: Optional[str] = '/',
             readonly: Optional[bool] = False,
             client_addr: Optional[List[str]] = None,