From: Varsha Rao Date: Tue, 26 May 2020 10:17:55 +0000 (+0530) Subject: mgr/volumes/nfs: Fix incorrect read only access_type value X-Git-Tag: wip-pdonnell-testing-20200918.022351~1133^2~5 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=923d1814866736067b76236c3cadaccbad0e871d;p=ceph-ci.git mgr/volumes/nfs: Fix incorrect read only access_type value Signed-off-by: Varsha Rao --- diff --git a/src/pybind/mgr/volumes/fs/nfs.py b/src/pybind/mgr/volumes/fs/nfs.py index cb34bd9e8f0..72607961a23 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()