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:35:08 +0000 (23:35 +0200)
Change-Id: I9c1e79a7f37c79b48ebb464bd7eba36eefcf5099
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
osm_mon/collector/infra_collectors/vmware.py

index 3c65270..33380fa 100644 (file)
@@ -116,6 +116,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]