From f6ac9a2ccabd812ac4c546b535a3ac8964cf9960 Mon Sep 17 00:00:00 2001 From: Alvaro Vega Date: Thu, 26 Nov 2020 11:43:16 +0100 Subject: [PATCH 1/2] Update keystone.py --- src/orchestrator/core/keystone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/orchestrator/core/keystone.py b/src/orchestrator/core/keystone.py index cfce6f6e..758335d9 100644 --- a/src/orchestrator/core/keystone.py +++ b/src/orchestrator/core/keystone.py @@ -1130,7 +1130,7 @@ def getDomainProjects(self, project_data = { "name": project['name'], "id": project['id'], - "domain_id": project['domain_id'] + "domain_id": DOMAIN_ID } # TODO: include domain_name into each project ? if 'description' in project: From 5f1f583cf88a91e2e509765af0d0e33716f97e7e Mon Sep 17 00:00:00 2001 From: Alvaro Vega Date: Fri, 27 Nov 2020 09:57:15 +0100 Subject: [PATCH 2/2] Update keystone.py --- src/orchestrator/core/keystone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/orchestrator/core/keystone.py b/src/orchestrator/core/keystone.py index 758335d9..ceb2c790 100644 --- a/src/orchestrator/core/keystone.py +++ b/src/orchestrator/core/keystone.py @@ -1130,7 +1130,7 @@ def getDomainProjects(self, project_data = { "name": project['name'], "id": project['id'], - "domain_id": DOMAIN_ID + "domain_id": project['domain_id'] if 'domain_id' in project else DOMAIN_ID } # TODO: include domain_name into each project ? if 'description' in project: