From 923d1814866736067b76236c3cadaccbad0e871d Mon Sep 17 00:00:00 2001 From: Varsha Rao Date: Tue, 26 May 2020 15:47:55 +0530 Subject: [PATCH] mgr/volumes/nfs: Fix incorrect read only access_type value Signed-off-by: Varsha Rao --- src/pybind/mgr/volumes/fs/nfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/volumes/fs/nfs.py b/src/pybind/mgr/volumes/fs/nfs.py index cb34bd9e8f03e..72607961a23a3 100644 --- a/src/pybind/mgr/volumes/fs/nfs.py +++ b/src/pybind/mgr/volumes/fs/nfs.py @@ -302,7 +302,7 @@ class FSExport(object): self.rados_namespace = cluster_id access_type = "RW" if read_only: - access_type = "R" + access_type = "RO" if not self._fetch_export(pseudo_path): ex_id = self._gen_export_id() -- 2.39.5