Skip to content
This repository was archived by the owner on Aug 20, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,10 @@ def validateMetronComponentLayout(self, hostsComponentsMap, serviceComponents):
]

# find any metron components that have not been assigned to a host
components = set(component['name'] for componentList in hostsComponentsMap.values() for component in componentList)
unassignedMetronComponents = []
for component in metronComponents:
if (component not in hostsComponentsMap.values()):
if component['name'] not in components:
unassignedMetronComponents.append(component)

if len(unassignedMetronComponents) > 0:
Expand Down