summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorliusheng <liusheng@huawei.com>2016-06-13 16:20:13 +0800
committerliusheng <liusheng@huawei.com>2016-06-13 16:24:47 +0800
commitf99cedf11fd1c7d7dab930e8b83659f5cb789895 (patch)
tree019c7f8320a1d76422e04a21193a45f62d200a36 /tools
parent726f24334dde0c1740a37bce6905b96124becba1 (diff)
downloadceilometer-f99cedf11fd1c7d7dab930e8b83659f5cb789895.tar.gz
Use "topics" instead of "topic" in Notifier initialization
The "topic" parameter of the __init__method of Notifier has been deprecated and will be removed. see change[1]. [1] Id89957411aa219cff92fafec2f448c81cb57b3ca Change-Id: If41b0aa4f9afc90d049063bf509723c3a8295db7
Diffstat (limited to 'tools')
-rwxr-xr-xtools/send_test_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/send_test_data.py b/tools/send_test_data.py
index a1d37a3a..867c34a4 100755
--- a/tools/send_test_data.py
+++ b/tools/send_test_data.py
@@ -48,7 +48,7 @@ def get_notifier(config_file):
messaging.get_transport(),
driver='messagingv2',
publisher_id='telemetry.publisher.test',
- topic='metering',
+ topics=['metering'],
)