mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
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:
commit
7df64ff593
@ -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()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user