From ad6871aeaae927a5bf6512ea280305ea18a29190 Mon Sep 17 00:00:00 2001 From: Sylvain Bauza Date: Fri, 28 Feb 2014 09:48:40 +0100 Subject: [PATCH] Fix small misuse of cast within oslo.messaging wrapper cast() method doesn't return a value, the wrapper should do the same accordingly. See https://wiki.openstack.org/wiki/Oslo/Messaging#Client_Side_API Change-Id: I8ab6f77fbb622134e434660c2a662ea08474e51f --- climate/utils/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/climate/utils/service.py b/climate/utils/service.py index 734ee616..753825f0 100644 --- a/climate/utils/service.py +++ b/climate/utils/service.py @@ -38,7 +38,7 @@ class RPCClient(object): def cast(self, name, **kwargs): ctx = context.current() - return self._client.cast(ctx.to_dict(), name, **kwargs) + self._client.cast(ctx.to_dict(), name, **kwargs) def call(self, name, **kwargs): ctx = context.current()