summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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?)