diff options
| author | termie <code@term.ie> | 2010-12-14 16:05:39 -0800 |
|---|---|---|
| committer | termie <code@term.ie> | 2010-12-14 16:05:39 -0800 |
| commit | a2a8406b5d793545c8ecb359e18b80bba618c509 (patch) | |
| tree | ad49bdbff6c6594c568949c84197c29fdab0d3ec /nova/compute | |
| parent | c835c441981a17764931390bc1ace6121ab100a4 (diff) | |
updates per review
Diffstat (limited to 'nova/compute')
| -rw-r--r-- | nova/compute/manager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 051ce579d..f90f28b78 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -203,7 +203,7 @@ class ComputeManager(manager.Manager): volume_id, mountpoint) instance_ref = self.db.instance_get(context, instance_id) dev_path = self.volume_manager.setup_compute_volume(context, - volume_id) + volume_id) try: self.driver.attach_volume(instance_ref['name'], dev_path, @@ -238,7 +238,7 @@ class ComputeManager(manager.Manager): instance_ref['name']) else: self.driver.detach_volume(instance_ref['name'], - volume_ref['mountpoint']) + volume_ref['mountpoint']) self.volume_manager.remove_compute_volume(context, volume_id) self.db.volume_detached(context, volume_id) return True |
