Merge "Remove unnecessary wrapper"

This commit is contained in:
Zuul 2019-05-31 13:44:52 +00:00 committed by Gerrit Code Review
commit 244c924067
1 changed files with 1 additions and 3 deletions

View File

@ -432,9 +432,7 @@ class ClientRouter(periodic_task.PeriodicTasks):
self.default_client = default_client
self.target = default_client.target
self.version_cap = default_client.version_cap
# NOTE(melwitt): Cells v1 does its own serialization and won't
# have a serializer available on the client object.
self.serializer = getattr(default_client, 'serializer', None)
self.serializer = default_client.serializer
def client(self, context):
transport = context.mq_connection