Skip to content

Commit

Permalink
Remove unnecessary wrapper
Browse files Browse the repository at this point in the history
Part of blueprint remove-cells-v1

Change-Id: I17293cf1259b83ad0ac9c5896d121df4214cf12f
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
  • Loading branch information
stephenfin committed May 29, 2019
1 parent 95dc5d0 commit 7166482
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nova/rpc.py
Expand Up @@ -432,9 +432,7 @@ def __init__(self, default_client):
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
Expand Down

0 comments on commit 7166482

Please sign in to comment.