summaryrefslogtreecommitdiff
path: root/osprofiler/drivers
diff options
context:
space:
mode:
authorHongbin Lu <hongbin.lu@huawei.com>2017-03-17 19:01:19 -0500
committerHongbin Lu <hongbin.lu@huawei.com>2017-03-20 10:25:40 -0500
commit7f099bc2378ede96cfaf3484ea9fab14d4583ebe (patch)
treefa77e98e969446e7cfeea2d13489476037164d0c /osprofiler/drivers
parentd0f5aed40500a5b237c99d92a55a9f51ecf4da02 (diff)
downloadosprofiler-7f099bc2378ede96cfaf3484ea9fab14d4583ebe.tar.gz
Switch to "topics" keyword for messaging driver
The keyword "topic" has been dropped [1] in oslo.messaging. Let's switch to "topics". [1] https://review.openstack.org/#/c/433950/ Change-Id: I70012bba09940a5f9a379706b4fc6b901ac9fa02
Diffstat (limited to 'osprofiler/drivers')
-rw-r--r--osprofiler/drivers/messaging.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/osprofiler/drivers/messaging.py b/osprofiler/drivers/messaging.py
index ce77c8c..47a8a81 100644
--- a/osprofiler/drivers/messaging.py
+++ b/osprofiler/drivers/messaging.py
@@ -30,7 +30,7 @@ class Messaging(base.Driver):
self.client = messaging.Notifier(
transport, publisher_id=self.host, driver="messaging",
- topic="profiler", retry=0)
+ topics=["profiler"], retry=0)
@classmethod
def get_name(cls):