From: Xiubo Li Date: Thu, 28 May 2020 01:29:11 +0000 (-0400) Subject: qa/tasks/cephfs/mount.py: remove netns name parsing in mountpoint setter X-Git-Tag: v16.1.0~2181^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F34782%2Fhead;p=ceph.git qa/tasks/cephfs/mount.py: remove netns name parsing in mountpoint setter We can get the correct netns name always by using the netns_name getter. Signed-off-by: Xiubo Li --- diff --git a/qa/tasks/cephfs/mount.py b/qa/tasks/cephfs/mount.py index 5e910419a582..d59514af2a44 100644 --- a/qa/tasks/cephfs/mount.py +++ b/qa/tasks/cephfs/mount.py @@ -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):