summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2021-10-20 21:39:36 +0200
committerSage Weil <sage@newdream.net>2021-11-02 22:06:58 +0100
commit89e73a20c35ec8292182d4b7cee4425714ee2456 (patch)
treef624a5c78bc36316d3c39db51771a68fa03127be
parentmgr/nfs: reorder 'nfs export create cephfs' arguments (diff)
downloadceph-89e73a20c35ec8292182d4b7cee4425714ee2456.tar.xz
ceph-89e73a20c35ec8292182d4b7cee4425714ee2456.zip
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 <sage@newdream.net>
-rw-r--r--src/pybind/mgr/nfs/module.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pybind/mgr/nfs/module.py b/src/pybind/mgr/nfs/module.py
index 8eef68f2369..280a61653ec 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',