Fix destination host for remove_volume_connection.

This patch fixes a regression in
957c4ff741.  The destination host was
accidentally changed to 'host' when it should have been 'dest'.

Change-Id: I2b262c4aedc2caa0c98c7660853358fc59935b63
This commit is contained in:
Russell Bryant
2012-05-31 15:07:53 -04:00
parent 9024065f52
commit 164d233371

View File

@@ -2222,7 +2222,7 @@ class ComputeManager(manager.SchedulerDependentManager):
volume_id = bdm['volume_id']
volume = self.volume_api.get(context, volume_id)
rpc.call(context,
rpc.queue_get_for(context, FLAGS.compute_topic, host),
rpc.queue_get_for(context, FLAGS.compute_topic, dest),
{"method": "remove_volume_connection",
"args": {'instance_id': instance_ref['id'],
'volume_id': volume['id']}})