diff options
| author | Ewan Mellor <ewan.mellor@citrix.com> | 2010-07-25 17:40:41 +0100 |
|---|---|---|
| committer | Ewan Mellor <ewan.mellor@citrix.com> | 2010-07-25 17:40:41 +0100 |
| commit | ad2250ac0080ca35b1fd2747e3f4d0ff07bc90be (patch) | |
| tree | f965c9a9133d0d000e802473f4d0488e7f42271e /nova/rpc.py | |
| parent | 7050e7e49e8aad3ff3f5d0060c96ff97d9c2852f (diff) | |
| download | nova-ad2250ac0080ca35b1fd2747e3f4d0ff07bc90be.tar.gz nova-ad2250ac0080ca35b1fd2747e3f4d0ff07bc90be.tar.xz nova-ad2250ac0080ca35b1fd2747e3f4d0ff07bc90be.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 ef463e84b..5610ea124 100644 --- a/nova/rpc.py +++ b/nova/rpc.py @@ -242,7 +242,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) |
