diff options
| author | Ewan Mellor <ewan.mellor@citrix.com> | 2010-07-26 17:57:31 +0000 |
|---|---|---|
| committer | Tarmac <> | 2010-07-26 17:57:31 +0000 |
| commit | fd9d15fc6097a60e57f818cee231e4feedb7b856 (patch) | |
| tree | 89b57e26a630560e2c439a32bbfb892b882488e3 /nova/rpc.py | |
| parent | 17096b0eef78680164746303d65f9f9a50a91562 (diff) | |
| parent | ad2250ac0080ca35b1fd2747e3f4d0ff07bc90be (diff) | |
| download | nova-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.py | 2 |
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) |
