summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorKevin L. Mitchell <kevin.mitchell@rackspace.com>2011-08-02 18:36:12 +0000
committerKevin L. Mitchell <kevin.mitchell@rackspace.com>2011-08-02 18:36:12 +0000
commitfa6cc945111dfa10fc98500765c71ced0c59015c (patch)
tree602d84fcb6827d8d49d09fbbe23c57849d112379 /nova
parent520a3b5083311ea7fe324a30a8f386691eb0f7fc (diff)
Fix an error in fetch_image()
Diffstat (limited to 'nova')
-rw-r--r--nova/virt/xenapi/vm_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/virt/xenapi/vm_utils.py b/nova/virt/xenapi/vm_utils.py
index 2be5d0f4a..63bc191cf 100644
--- a/nova/virt/xenapi/vm_utils.py
+++ b/nova/virt/xenapi/vm_utils.py
@@ -376,10 +376,10 @@ class VMHelper(HelperBase):
A list of dictionaries that describe VDIs, otherwise
"""
if image_type == ImageType.DISK_VHD:
- return cls._fetch_image_glance_vhd(
+ return cls._fetch_image_glance_vhd(context,
session, instance_id, image, image_type)
else:
- return cls._fetch_image_glance_disk(
+ return cls._fetch_image_glance_disk(context,
session, instance_id, image, image_type)
@classmethod