]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/volumes/nfs: Fix incorrect read only access_type value
authorVarsha Rao <varao@redhat.com>
Tue, 26 May 2020 10:17:55 +0000 (15:47 +0530)
committerVarsha Rao <varao@redhat.com>
Fri, 29 May 2020 09:17:32 +0000 (14:47 +0530)
Signed-off-by: Varsha Rao <varao@redhat.com>
src/pybind/mgr/volumes/fs/nfs.py

index cb34bd9e8f03e08fc8815f9d119c241eeabb717f..72607961a23a3d58991092bea2144a0c6397a996 100644 (file)
@@ -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()