Skip to content

Commit e905530

Browse files
authored
Update normalize/sbom_graph.go
Signed-off-by: Tim Bastin <38261809+timbastin@users.noreply.github.com>
1 parent 23daa1c commit e905530

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

normalize/sbom_graph.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,6 @@ func (g *SBOMGraph) FindAllComponentOnlyPathsToPURL(purl string, limit int) []Pa
931931
parentArtifact := reverseEdges[parentID]
932932
if len(parentArtifact) > 1 {
933933
slog.Warn("Info source has multiple parents, which should not happen in a well-formed graph. This may lead to incorrect path results.", "infoSourceID", parentID, "parentArtifacts", parentArtifact)
934-
monitoring.Alert("info source has multiple parents in SBOM graph", fmt.Errorf("infoSourceID=%s parentArtifacts=%v", parentID, parentArtifact))
935934
}
936935

937936
if !slices.ContainsFunc(parentArtifact, func(artifact string) bool {

0 commit comments

Comments
 (0)