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
This commit is contained in:
Sylvain Bauza 2014-02-28 09:48:40 +01:00
parent a5af831e60
commit ad6871aeaa

View File

@ -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()