From 89e73a20c35ec8292182d4b7cee4425714ee2456 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 20 Oct 2021 15:39:36 -0400 Subject: [PATCH] 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 --- src/pybind/mgr/nfs/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/nfs/module.py b/src/pybind/mgr/nfs/module.py index 8eef68f2369de..280a61653ec92 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', -- 2.39.5