From: Sage Weil Date: Fri, 4 Jun 2021 17:35:46 +0000 (-0400) Subject: mgr/nfs: fix 'nfs export create' argument order X-Git-Tag: v17.1.0~1726^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ffce51af8e7be9835ff01c8d9a5f378f19d4d746;p=ceph.git mgr/nfs: fix 'nfs export create' argument order Put path before --readonly so that it can still be positional. Signed-off-by: Sage Weil --- diff --git a/src/pybind/mgr/nfs/module.py b/src/pybind/mgr/nfs/module.py index a3d4272c98b9..06342aae900a 100644 --- a/src/pybind/mgr/nfs/module.py +++ b/src/pybind/mgr/nfs/module.py @@ -28,8 +28,8 @@ class Module(orchestrator.OrchestratorClientMixin, MgrModule): fsname: str, clusterid: str, binding: str, - readonly: bool = False, - path: str = '/') -> Tuple[int, str, str]: + path: str = '/', + readonly: bool = False) -> Tuple[int, str, str]: """Create a cephfs export""" # TODO Extend export creation for rgw. return self.export_mgr.create_export(fsal_type='cephfs', fs_name=fsname,