From ffce51af8e7be9835ff01c8d9a5f378f19d4d746 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 4 Jun 2021 13:35:46 -0400 Subject: [PATCH] mgr/nfs: fix 'nfs export create' argument order Put path before --readonly so that it can still be positional. Signed-off-by: Sage Weil --- src/pybind/mgr/nfs/module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pybind/mgr/nfs/module.py b/src/pybind/mgr/nfs/module.py index a3d4272c98b..06342aae900 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, -- 2.47.3