summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova/virt/xenapi/volumeops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/xenapi/volumeops.py b/nova/virt/xenapi/volumeops.py
index e898b1d37..f4a7ee24a 100644
--- a/nova/virt/xenapi/volumeops.py
+++ b/nova/virt/xenapi/volumeops.py
@@ -60,7 +60,7 @@ class VolumeOps(object):
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)