diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-01-04 21:05:40 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-01-04 21:05:40 +0000 |
| commit | 27293b7f4044cdca4da3f7752dd9399fb182b895 (patch) | |
| tree | b710acfc99ae3eaadf3eb7938fb636d3fc96a1b6 | |
| parent | 15416928d47a0d3afbdf2b03964410ff968b74d2 (diff) | |
| parent | 28a345ec819cace007bd43483fce4a90017e46d7 (diff) | |
| download | nova-27293b7f4044cdca4da3f7752dd9399fb182b895.tar.gz nova-27293b7f4044cdca4da3f7752dd9399fb182b895.tar.xz nova-27293b7f4044cdca4da3f7752dd9399fb182b895.zip | |
Merge "Call mkfs with the correct order of arguments"
| -rw-r--r-- | nova/virt/libvirt/connection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/libvirt/connection.py b/nova/virt/libvirt/connection.py index 3ce524392..096bf2922 100644 --- a/nova/virt/libvirt/connection.py +++ b/nova/virt/libvirt/connection.py @@ -850,7 +850,7 @@ class LibvirtConnection(driver.ComputeDriver): def _create_swap(target, swap_mb): """Create a swap file of specified size""" libvirt_utils.create_image('raw', target, '%dM' % swap_mb) - libvirt_utils.mkfs(target, 'swap') + libvirt_utils.mkfs('swap', target) def _create_image(self, context, inst, libvirt_xml, suffix='', disk_images=None, network_info=None, |
