diff options
author | Ruby Loo <ruby.loo@intel.com> | 2016-05-31 14:26:22 -0400 |
---|---|---|
committer | Ruby Loo <ruby.loo@intel.com> | 2016-06-01 10:25:05 -0400 |
commit | 4405e6d412a089732c53b42dbd475824d8b8befc (patch) | |
tree | 80817fe864e77f3d67fe7bf4f0c897db3f1966b4 /ironic/common/rpc.py | |
parent | fb4e545e21df8816bec10b604c4c920260e96e79 (diff) | |
download | ironic-4405e6d412a089732c53b42dbd475824d8b8befc.tar.gz |
NOTIFICATION_TRANSPORT should be global
This is a followup to "Use messaging notifications transport
instead of default" (Ic72fd658fe9b35d39cc3d7da2e4b9fe3454edfba).
The use of NOTIFICATION_TRANSPORT should be global. A unit
test is added; it fails if the variable isn't global.
A typo was addressed in the release notes.
Change-Id: Ie303d79aba893b36a7aecb29c0ff2703f742146e
Diffstat (limited to 'ironic/common/rpc.py')
-rw-r--r-- | ironic/common/rpc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/common/rpc.py b/ironic/common/rpc.py index 7c02be69b..dbf702bb9 100644 --- a/ironic/common/rpc.py +++ b/ironic/common/rpc.py @@ -43,7 +43,7 @@ TRANSPORT_ALIASES = { def init(conf): - global TRANSPORT, NOTIFIER + global TRANSPORT, NOTIFICATION_TRANSPORT, NOTIFIER exmods = get_allowed_exmods() TRANSPORT = messaging.get_transport(conf, allowed_remote_exmods=exmods, |