Skip to content

Commit

Permalink
The tenant field is deleted from oslo.context version 4.0.0.However,t…
Browse files Browse the repository at this point in the history
…his field is used in the oslo.config.
  • Loading branch information
qinwang-murphy committed Feb 8, 2022
1 parent 8533872 commit 1707c5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions delfin/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def __init__(self, user_id=None, project_id=None, is_admin=None,
roles=roles)

self.user_id = self.user
self.tenant = project_id or tenant
self.project_id = self.tenant

self.read_deleted = read_deleted
Expand Down

0 comments on commit 1707c5b

Please sign in to comment.