Ver código fonte

openstack: pylint fix short var name

Change-Id: I6fa49db94868834fbf93e0bd840550d6e48983e8
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
Antoni Segura Puimedon 7 anos atrás
pai
commit
19bd43f5f1

+ 2 - 2
roles/openshift_openstack/library/os_service_catalog.py

@@ -156,13 +156,13 @@ def main():
         module.fail_json(msg='Failed to connect to the cloud')
 
     try:
-        sc = cloud.cloud_config.get_service_catalog()
+        service_catalog = cloud.cloud_config.get_service_catalog()
     # pylint: disable=broad-except
     except Exception:
         module.fail_json(msg='Failed to retrieve the service catalog')
 
     try:
-        endpoints = sc.get_endpoints()
+        endpoints = service_catalog.get_endpoints()
     # pylint: disable=broad-except
     except Exception:
         module.fail_json(msg='Failed to retrieve the service catalog '