Skip to content

Commit c479246

Browse files
authored
Network devices info (#171)
2 parents 734a133 + 276be9c commit c479246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/modules/network_devices_info_workflow_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2026,7 +2026,7 @@ def process_building_site(self, site_name):
20262026
)
20272027

20282028
for item in parent_site_data["response"]:
2029-
if self._validate_site_item(item):
2029+
if "nameHierarchy" in item and "id" in item:
20302030
site_info[item["nameHierarchy"]] = item["id"]
20312031
self.log(
20322032
"Added parent site '{0}' with ID '{1}' to hierarchy".format(

0 commit comments

Comments
 (0)