diff --git a/oslo_messaging/_drivers/amqpdriver.py b/oslo_messaging/_drivers/amqpdriver.py index c0eec3f43..91af6634e 100644 --- a/oslo_messaging/_drivers/amqpdriver.py +++ b/oslo_messaging/_drivers/amqpdriver.py @@ -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)