From 014d58c804c0e9ba2c1c6ae98012a49eb2f8483e Mon Sep 17 00:00:00 2001 From: wangqin <442577631@qq.com> Date: Tue, 8 Feb 2022 10:58:16 +0800 Subject: [PATCH] The tenant field is deleted from oslo.context version 4.0.0.However,this field is used in the oslo.config. --- delfin/context.py | 1 - 1 file changed, 1 deletion(-) diff --git a/delfin/context.py b/delfin/context.py index 32220afd7..04817306e 100644 --- a/delfin/context.py +++ b/delfin/context.py @@ -57,7 +57,6 @@ def __init__(self, user_id=None, project_id=None, is_admin=None, super(RequestContext, self).__init__( auth_token=auth_token, user=user_id or user, - tenant=project_id or tenant, domain=kwargs.pop('domain', None), user_domain=kwargs.pop('user_domain', None), project_domain=kwargs.pop('project_domain', None),