Skip to content

Commit 93479fa

Browse files
authored
Merge pull request #123 from xcp-ng/agf-fileSR_fix_with_offline_hosts
Fix a crash with cleanup operation while a host is offline.
2 parents 6b6bb98 + 3e18aee commit 93479fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/cleanup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3000,7 +3000,7 @@ def _checkSlaves(self, vdi):
30003000
raise AbortException("Aborting due to signal")
30013001
try:
30023002
self._checkSlave(hostRef, vdi)
3003-
except util.CommandException:
3003+
except XenAPI.Failure:
30043004
if hostRef in onlineHosts:
30053005
raise
30063006

0 commit comments

Comments
 (0)