]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/cephfs/mount.py: remove netns name parsing in mountpoint setter 34782/head
authorXiubo Li <xiubli@redhat.com>
Thu, 28 May 2020 01:29:11 +0000 (21:29 -0400)
committerXiubo Li <xiubli@redhat.com>
Thu, 28 May 2020 01:34:02 +0000 (21:34 -0400)
We can get the correct netns name always by using the netns_name
getter.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
qa/tasks/cephfs/mount.py

index 5e910419a582a1660c2232b504f72bb644524ad7..d59514af2a44b50161b64c43f2be65a99f1718ed 100644 (file)
@@ -60,7 +60,6 @@ class CephFSMount(object):
         if not isinstance(path, str):
             raise RuntimeError('path should be of str type.')
         self._mountpoint = path
-        self._parse_netns_name()
 
     @property
     def netns_name(self):