]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/cephfs: return only None in _run_umount_lf() 65805/head
authorRishabh Dave <ridave@redhat.com>
Mon, 6 Oct 2025 10:50:30 +0000 (16:20 +0530)
committerRishabh Dave <ridave@redhat.com>
Mon, 6 Oct 2025 12:37:24 +0000 (18:07 +0530)
Since no caller of this method uses the return value "proc", return
None.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/mount.py

index 30a115393c3ab16f213492a39fb71cb00dbb25ea..0f62c062dc05da5c75be0eccdb63a006eb4f08eb 100644 (file)
@@ -514,10 +514,9 @@ class CephFSMountBase(object):
         log.debug(f'Force/lazy unmounting on client.{self.client_id}')
 
         try:
-            proc = self.client_remote.run(
+            self.client_remote.run(
                 args=f'sudo umount --lazy --force {self.hostfs_mntpt}',
                 timeout=UMOUNT_TIMEOUT, omit_sudo=False)
-            return proc
         except CommandFailedError:
             if self.is_mounted():
                 raise