[rabbit] Log correct topic on cast/call

Change-Id: Icc06f7f0f99728fcf4abbdce0bf85af88713494a
This commit is contained in:
Dmitry Mescheryakov 2016-12-09 14:22:27 +04:00
parent 2c3ae0af3c
commit 04f89a76f0

View File

@ -438,7 +438,7 @@ class AMQPDriverBase(base.BaseDriver):
log_msg += "exchange '%(exchange)s'" \
" topic '%(topic)s'" % {
'exchange': exchange,
'topic': target.topic}
'topic': topic}
LOG.debug(log_msg)
conn.topic_send(exchange_name=exchange, topic=topic,
msg=msg, timeout=timeout, retry=retry)