]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: ganesha: Specify the name of the filesystem for creating a path
authorDavid Casier <david.casier@aevoo.fr>
Mon, 22 Jul 2019 21:40:35 +0000 (23:40 +0200)
committerDavid Casier <david.casier@aevoo.fr>
Mon, 22 Jul 2019 21:40:35 +0000 (23:40 +0200)
Signed-off-by: David Casier <david.casier@aevoo.fr>
src/pybind/mgr/dashboard/services/ganesha.py

index 4053d20c1ca10c6659db0d29cee250dfcb499bec..4a525a54da7a6866d127c8681695542d3b624179 100644 (file)
@@ -486,7 +486,7 @@ class CephFSFSal(FSal):
             self.cephx_key = CephX.get_client_key(self.user_id)
 
     def create_path(self, path):
-        cfs = CephFS()
+        cfs = CephFS(self.fs_name)
         if not cfs.dir_exists(path):
             cfs.mkdirs(path)