From ff4b9f2d85abb98ed7f90833b777a5e91590039e Mon Sep 17 00:00:00 2001 From: fonsecaj Date: Fri, 4 Sep 2020 19:00:23 +0200 Subject: [PATCH] fix 1204: Changed the individual assignments for a chained assignment of the variables Change-Id: I6d98ccd05b06f6d50596edea342a99546c737ced Signed-off-by: fonsecaj --- osm_mon/collector/utils/openstack.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/osm_mon/collector/utils/openstack.py b/osm_mon/collector/utils/openstack.py index 039ce61..b23bd24 100644 --- a/osm_mon/collector/utils/openstack.py +++ b/osm_mon/collector/utils/openstack.py @@ -31,10 +31,7 @@ class OpenstackUtils: @staticmethod def get_session(creds: dict): verify_ssl = True - project_domain_id = None - user_domain_id = None - project_domain_name = None - user_domain_name = None + project_domain_id = project_domain_name = user_domain_id = user_domain_name = None if 'config' in creds: vim_config = creds['config'] if 'insecure' in vim_config and vim_config['insecure']: -- 2.25.1