Store project_domain in project_domain_id
The same way that context was changed to store the attribute in
user_domain_id, use project_domain_id to remove some errors.
Change-Id: I591b6644e113cc90eeb2aff6b628a649ae8d4740
Related-Bug: #1663013
(cherry picked from commit 37b1f7c963
)
This commit is contained in:
parent
e2a317a6ab
commit
0568795758
|
@ -327,11 +327,11 @@ class StoredContext(RequestContext):
|
|||
def project_domain(self):
|
||||
if not getattr(self, '_keystone_loaded', False):
|
||||
self._load_keystone_data()
|
||||
return self._project_domain
|
||||
return self._project_domain_id
|
||||
|
||||
@project_domain.setter
|
||||
def project_domain(self, project_domain):
|
||||
self._project_domain = project_domain
|
||||
self._project_domain_id = project_domain
|
||||
|
||||
|
||||
def get_admin_context(show_deleted=False):
|
||||
|
|
Loading…
Reference in New Issue