Skip to content
Browse files

Zmq notifier topic manip fix.

The ZeroMQ driver needs to manipulate
the topic for notifications because
the period is used as a delimiter internally.

The code was already trying to perform
this modification via topic.replace,
but was not storing the result.

Change-Id: I02a174dd96ff9181f6d7460fd41434ea05fb39d4
  • Loading branch information...
1 parent d5a07c4 commit c4400ec172fe7a57cbf92dcdce365ddb1ab66bae Eric Windisch committed Feb 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 openstack/common/rpc/
2 openstack/common/rpc/
@@ -793,7 +793,7 @@ def notify(conf, context, topic, msg, **kwargs):
# NOTE(ewindisch): dot-priority in rpc notifier does not
# work with our assumptions.
- topic.replace('.', '-')
+ topic = topic.replace('.', '-')
kwargs['envelope'] = kwargs.get('envelope', True)
cast(conf, context, topic, msg, **kwargs)

0 comments on commit c4400ec

Please sign in to comment.
Something went wrong with that request. Please try again.