From: Sage Weil Date: Wed, 20 Oct 2021 19:39:03 +0000 (-0400) Subject: mgr/nfs: reorder 'nfs export create cephfs' arguments X-Git-Tag: v17.1.0~511^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a07ca2444d7e5a800944fc8f75ebd88e26505c7e;p=ceph.git mgr/nfs: reorder 'nfs export create cephfs' arguments Put fsname after cluster_id + pseudo_path so that it aligns with the change to the rgw command. Signed-off-by: Sage Weil --- diff --git a/src/pybind/mgr/nfs/module.py b/src/pybind/mgr/nfs/module.py index 0bc3ab63e22..8eef68f2369 100644 --- a/src/pybind/mgr/nfs/module.py +++ b/src/pybind/mgr/nfs/module.py @@ -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,