Merge "Remove user_identity dummy param from context"

This commit is contained in:
Zuul 2017-10-19 19:39:26 +00:00 committed by Gerrit Code Review
commit 30ffe04b46

View File

@ -35,12 +35,10 @@ class DesignateContext(context.RequestContext):
_client_addr = None _client_addr = None
def __init__(self, service_catalog=None, all_tenants=False, abandon=None, def __init__(self, service_catalog=None, all_tenants=False, abandon=None,
tsigkey_id=None, user_identity=None, original_tenant=None, tsigkey_id=None, original_tenant=None,
edit_managed_records=False, hide_counts=False, edit_managed_records=False, hide_counts=False,
client_addr=None, **kwargs): client_addr=None, **kwargs):
# NOTE: user_identity may be passed in, but will be silently dropped as
# it is a generated field based on several others.
super(DesignateContext, self).__init__(**kwargs) super(DesignateContext, self).__init__(**kwargs)
self.service_catalog = service_catalog self.service_catalog = service_catalog