summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRick Harris <rick.harris@rackspace.com>2011-02-17 07:58:42 +0000
committerRick Harris <rick.harris@rackspace.com>2011-02-17 07:58:42 +0000
commit8dceaccb81e95b55fac2156df4f04ef0a7469112 (patch)
treebc18e81c57c06cbd680595cb85c91fd7b87e4f97 /plugins
parentb71fd21a8a4a9b9fde3b110c8f77d172ac1a47ba (diff)
downloadnova-8dceaccb81e95b55fac2156df4f04ef0a7469112.tar.gz
nova-8dceaccb81e95b55fac2156df4f04ef0a7469112.tar.xz
nova-8dceaccb81e95b55fac2156df4f04ef0a7469112.zip
Typo fixes
Diffstat (limited to 'plugins')
-rw-r--r--plugins/xenserver/xenapi/etc/xapi.d/plugins/glance4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance b/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance
index a91f8a7c1..3b5cedda7 100644
--- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance
+++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance
@@ -85,7 +85,7 @@ def _download_tarball(sr_path, staging_path, image_id, glance_host,
conn.close()
-def fixup_vhds(sr_path, staging_path, uuid_stack):
+def _fixup_vhds(sr_path, staging_path, uuid_stack):
"""Fixup the downloaded VHDs before we move them into the SR.
We cannot extract VHDs directly into the SR since they don't yet have
@@ -314,7 +314,7 @@ def download_vhd(session, args):
try:
_download_tarball(sr_path, staging_path, image_id, glance_host,
glance_port)
- vdi_uuid = fixup_vhds(sr_path, staging_path, uuid_stack)
+ vdi_uuid = _fixup_vhds(sr_path, staging_path, uuid_stack)
return vdi_uuid
finally:
_cleanup_staging_area(staging_path)