Merge pull request #65805 from rishabh-d-dave/qa-returns-unbound-var

qa/cephfs: don't return undefined variable

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
This commit is contained in:
Rishabh Dave 2025-12-16 15:18:58 +05:30 committed by GitHub
commit 7df64ff593
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -514,15 +514,13 @@ 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)
except CommandFailedError:
if self.is_mounted():
raise
return proc
def umount(self):
raise NotImplementedError()