From 4cbf1a27fe4681f6bcfad5029dbb9874a856f96c Mon Sep 17 00:00:00 2001 From: zhurong Date: Tue, 7 Mar 2017 20:41:48 +0800 Subject: [PATCH] [Fix gate] Update oslo.messaging constructors following recent change This patch fixes the murano gate to align with a recent change [0] made to oslo.messaging in which the kwarg topic was changed to topics. [0] https://review.openstack.org/#/c/433950/ Change-Id: I9c70448914063976264dc40b10f238105bdfccc1 Co-Authored-By: zhurong --- murano/engine/system/instance_reporter.py | 2 +- murano/engine/system/status_reporter.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/murano/engine/system/instance_reporter.py b/murano/engine/system/instance_reporter.py index 06a011eb3..54503c477 100644 --- a/murano/engine/system/instance_reporter.py +++ b/murano/engine/system/instance_reporter.py @@ -36,7 +36,7 @@ class InstanceReportNotifier(object): self._notifier = messaging.Notifier( InstanceReportNotifier.transport, publisher_id=uuidutils.generate_uuid(), - topic='murano') + topics=['murano']) self._environment_id = environment.id def _track_instance(self, instance, instance_type, diff --git a/murano/engine/system/status_reporter.py b/murano/engine/system/status_reporter.py index dc73d2447..89a502988 100644 --- a/murano/engine/system/status_reporter.py +++ b/murano/engine/system/status_reporter.py @@ -36,7 +36,7 @@ class StatusReporter(object): self._notifier = messaging.Notifier( StatusReporter.transport, publisher_id=uuidutils.generate_uuid(), - topic='murano') + topics=['murano']) if isinstance(environment, six.string_types): self._environment_id = environment else: