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:
parent
a5af831e60
commit
ad6871aeaa
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user