Permalink
Browse files

Xen: Pass session to destroy_vdi

Change-Id: I34c59ff536abfdff9221cdb3d9ecc45d1e7a1a90
  • Loading branch information...
1 parent 1335352 commit caa1b282c701d5e9b9e02ffdb07d432d9b35ed13 Renuka Apte committed Apr 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 nova/virt/xenapi/volumeops.py
@@ -60,7 +60,7 @@ def delete_volume_for_sm(self, vdi_uuid):
if vdi_ref is None:
raise exception.Error(_('Could not find VDI ref'))
- vm_utils.VMHelper.destroy_vdi(vdi_ref)
+ vm_utils.VMHelper.destroy_vdi(self._session, vdi_ref)
def create_sr(self, label, params):
LOG.debug(_("Creating SR %s") % label)

0 comments on commit caa1b28

Please sign in to comment.