Merge "Stop oslo_messaging from error logging CallbackNotFound" into stable/newton

This commit is contained in:
Jenkins 2016-09-22 07:40:57 +00:00 committed by Gerrit Code Review
commit d4c1f43838
1 changed files with 1 additions and 0 deletions

View File

@ -252,6 +252,7 @@ class ResourcesPushRpcCallback(object):
target = oslo_messaging.Target(version='1.1',
namespace=constants.RPC_NAMESPACE_RESOURCES)
@oslo_messaging.expected_exceptions(rpc_exc.CallbackNotFound)
def push(self, context, **kwargs):
"""Push receiver, will always receive resources of the same type."""
# TODO(mangelajo): accept single 'resource' parameter for backwards