Skip to content

Commit

Permalink
XSI-654 - Add removal of pause flag under force option
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSimsCitrix committed Apr 3, 2020
1 parent c9e959b commit 4fb043c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/resetvdis.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def reset_vdi(session, vdi_uuid, force, term_output=True, writable=True):

if force:
session.xenapi.VDI.remove_from_sm_config(vdi_ref, key)
session.xenapi.VDI.remove_from_sm_config(vdi_ref, "paused")
msg = "Force-cleared %s for %s on host %s" % \
(val, vdi_uuid, host_str)
util.SMlog(msg)
Expand Down

0 comments on commit 4fb043c

Please sign in to comment.