Skip to content

Commit 896583e

Browse files
committed
Remove use of tenant in common/context.py
Tenant has been removed from context. Fixes UTs and pep8. Signed-off-by: Spyros Trigazis <[email protected]> Change-Id: I10daa22b614aab456b837c03278eb04da0355ff7
1 parent 4c4bba1 commit 896583e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

magnum/common/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def __init__(self, auth_token=None, auth_url=None, domain_id=None,
4242
"""
4343
super(RequestContext, self).__init__(auth_token=auth_token,
4444
user_id=user_name,
45-
tenant=project_name,
45+
project_id=project_name,
4646
is_admin=is_admin,
4747
read_only=read_only,
4848
show_deleted=show_deleted,

0 commit comments

Comments
 (0)