]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/nfs: reorder 'nfs export creage rgw' arguments
authorSage Weil <sage@newdream.net>
Wed, 20 Oct 2021 19:39:36 +0000 (15:39 -0400)
committerSage Weil <sage@newdream.net>
Tue, 2 Nov 2021 21:06:58 +0000 (17:06 -0400)
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>
src/pybind/mgr/nfs/module.py

index 8eef68f2369ded8b6f559f5b74463fa9cf84be37..280a61653ec923f0072a143e8c5e6f94f170ba4f 100644 (file)
@@ -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',