diff options
| author | Salvatore Orlando <salvatore.orlando@eu.citrix.com> | 2010-12-15 17:35:56 +0000 |
|---|---|---|
| committer | Salvatore Orlando <salvatore.orlando@eu.citrix.com> | 2010-12-15 17:35:56 +0000 |
| commit | 9308d57ee06baab7eda304d0456544d1f9e587f0 (patch) | |
| tree | f333f33cb35c39d0104b06a7c2e80d925ae0e746 /plugins | |
| parent | eaf463e4cc15820a5a8b91a31266fee02438c2c9 (diff) | |
| download | nova-9308d57ee06baab7eda304d0456544d1f9e587f0.tar.gz nova-9308d57ee06baab7eda304d0456544d1f9e587f0.tar.xz nova-9308d57ee06baab7eda304d0456544d1f9e587f0.zip | |
final cleanup
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/xenapi/etc/xapi.d/plugins/objectstore | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/xenapi/etc/xapi.d/plugins/objectstore b/plugins/xenapi/etc/xapi.d/plugins/objectstore index c78f0b1d8..e17f1ba13 100644 --- a/plugins/xenapi/etc/xapi.d/plugins/objectstore +++ b/plugins/xenapi/etc/xapi.d/plugins/objectstore @@ -101,7 +101,7 @@ def get_vdi_(proto, netloc, url_path, username, password, add_partition,raw_imag if (add_partition and not raw_image): write_partition(virtual_size, dest) - offset = (add_partition and MBR_SIZE_BYTES and not raw_image) or 0 + offset = (add_partition and not raw_image and MBR_SIZE_BYTES) or 0 get(proto, netloc, url_path, username, password, dest, offset) |
