Fix pylint issues appeared with version 3.2.0 of pylint
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 22 May 2024 21:22:13 +0000 (23:22 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 22 May 2024 21:22:13 +0000 (23:22 +0200)
Change-Id: I9c1e79a7f37c79b48ebb464bd7eba36eefcf5099
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osm_mon/collector/infra_collectors/vmware.py

index 04e9868..8f39464 100644 (file)
@@ -117,6 +117,7 @@ class VMwareInfraCollector(BaseVimInfraCollector):
             client = self.connect_vim_as_admin()
             if client._session:
                 org_list = client.get_org_list()
+                org_uuid = ""
                 for org in org_list.Org:
                     if org.get("name") == self.org_name:
                         org_uuid = org.get("href").split("/")[-1]