summaryrefslogtreecommitdiffstats
path: root/nova/rpc.py
diff options
context:
space:
mode:
authorEwan Mellor <ewan.mellor@citrix.com>2010-07-26 17:57:31 +0000
committerTarmac <>2010-07-26 17:57:31 +0000
commitfd9d15fc6097a60e57f818cee231e4feedb7b856 (patch)
tree89b57e26a630560e2c439a32bbfb892b882488e3 /nova/rpc.py
parent17096b0eef78680164746303d65f9f9a50a91562 (diff)
parentad2250ac0080ca35b1fd2747e3f4d0ff07bc90be (diff)
downloadnova-fd9d15fc6097a60e57f818cee231e4feedb7b856.tar.gz
nova-fd9d15fc6097a60e57f818cee231e4feedb7b856.tar.xz
nova-fd9d15fc6097a60e57f818cee231e4feedb7b856.zip
Replace hardcoded "nova" with FLAGS.control_exchange.
Diffstat (limited to 'nova/rpc.py')
-rw-r--r--nova/rpc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/rpc.py b/nova/rpc.py
index 5a2f4b3ad..ebf140d92 100644
--- a/nova/rpc.py
+++ b/nova/rpc.py
@@ -243,7 +243,7 @@ def send_message(topic, message, wait=True):
consumer.register_callback(generic_response)
publisher = messaging.Publisher(connection=Connection.instance(),
- exchange="nova",
+ exchange=FLAGS.control_exchange,
exchange_type="topic",
routing_key=topic)
publisher.send(message)