From bbb0cfd49032fbf92fabf0cb1dfbb3f28671b46a Mon Sep 17 00:00:00 2001 From: Naved Ansari Date: Fri, 9 Feb 2024 13:36:40 -0500 Subject: [PATCH] That's the spelling in coldfront https://github.com/nerc-project/coldfront-plugin-cloud/pull/138/files --- openshift_metrics/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openshift_metrics/utils.py b/openshift_metrics/utils.py index 52fe270..bf8a6f4 100755 --- a/openshift_metrics/utils.py +++ b/openshift_metrics/utils.py @@ -124,7 +124,7 @@ def get_namespace_attributes(): project_name = response["attributes"].get("Allocated Project Name") cf_pi = response["project"].get("pi", project_name) cf_project_id = response["project"].get("id", 0) - institution_code = response["attributes"].get("Institution - Specific Code", "") + institution_code = response["attributes"].get("Institution-Specific Code", "") namespaces_dict[project_name] = { "cf_pi": cf_pi, "cf_project_id": cf_project_id, "institution_code": institution_code } return namespaces_dict