diff options
| author | Rick Harris <rconradharris@gmail.com> | 2011-09-16 20:07:38 +0000 |
|---|---|---|
| committer | Rick Harris <rconradharris@gmail.com> | 2011-09-16 20:07:38 +0000 |
| commit | 5652459c41534bed1d19a794659146ef99941f0f (patch) | |
| tree | 2306003d71115b1444fb065fe57750dcb3dcbcac /plugins | |
| parent | 9f2ef26d5e4e34c26bd3c8fe62b81bd6409de2c5 (diff) | |
| download | nova-5652459c41534bed1d19a794659146ef99941f0f.tar.gz nova-5652459c41534bed1d19a794659146ef99941f0f.tar.xz nova-5652459c41534bed1d19a794659146ef99941f0f.zip | |
Fixing list prepend
Diffstat (limited to 'plugins')
| -rwxr-xr-x | plugins/xenserver/xenapi/etc/xapi.d/plugins/glance | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance b/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance index 49601b1cd..950b78707 100755 --- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance +++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance @@ -215,7 +215,7 @@ def _import_vhds(sr_path, staging_path, uuid_stack): # 'snapshot' vhd needs to be copied into the SR before the base copy. # If it doesn't, then there is a possibliity that snapwatchd will # delete the base_copy since it is an unreferenced parent. - paths_to_move.insert(snap_info[0]) + paths_to_move.insert(0, snap_info[0]) # We return this snap as the VDI instead of image.vhd vdi_return_list.append(dict(vdi_type="os", vdi_uuid=snap_info[1])) else: |
