summaryrefslogtreecommitdiffstats
path: root/nova/compute
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2012-08-09 01:12:43 +0800
committerShane Wang <shane.wang@intel.com>2012-08-09 01:12:43 +0800
commitccc2f23404afa5e69d3dbafb9e603b48b12d5cbc (patch)
tree1f34726d227def0e1d5c68484c7057d6ad55837b /nova/compute
parenta418654b070c63c4bed5e3e5523fb947934626f9 (diff)
Fix a bug on remove_volume_connection in compute/manager.py
The function remove_volume_connection() has been changed. Fix up the code to call the correct interface. Change-Id: Ib0aa864d9efabb1102193a36ec05c3a1673091b5 Signed-off-by: Shane Wang <shane.wang@intel.com>
Diffstat (limited to 'nova/compute')
-rw-r--r--nova/compute/manager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py
index 2f9d6066e..d5e124b1f 100644
--- a/nova/compute/manager.py
+++ b/nova/compute/manager.py
@@ -2223,8 +2223,8 @@ class ComputeManager(manager.SchedulerDependentManager):
# NOTE(vish): We don't want to actually mark the volume
# detached, or delete the bdm, just remove the
# connection from this host.
- self.remove_volume_connection(ctxt, instance_ref['id'],
- bdm['volume_id'])
+ self.remove_volume_connection(ctxt, bdm['volume_id'],
+ instance_ref)
# Releasing vlan.
# (not necessary in current implementation?)