From: Sage Weil Date: Wed, 20 Oct 2021 19:39:36 +0000 (-0400) Subject: mgr/nfs: reorder 'nfs export creage rgw' arguments X-Git-Tag: v17.1.0~511^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=89e73a20c35ec8292182d4b7cee4425714ee2456;p=ceph.git mgr/nfs: reorder 'nfs export creage rgw' arguments Put bucket name last so that it paves the way for an optional 'user' arg to go along with it. Signed-off-by: Sage Weil --- diff --git a/src/pybind/mgr/nfs/module.py b/src/pybind/mgr/nfs/module.py index 8eef68f2369d..280a61653ec9 100644 --- a/src/pybind/mgr/nfs/module.py +++ b/src/pybind/mgr/nfs/module.py @@ -44,9 +44,9 @@ class Module(orchestrator.OrchestratorClientMixin, MgrModule): @CLICommand('nfs export create rgw', perm='rw') def _cmd_nfs_export_create_rgw( self, - bucket: str, cluster_id: str, pseudo_path: str, + bucket: str, readonly: Optional[bool] = False, client_addr: Optional[List[str]] = None, squash: str = 'none',