Adding a missing `return`. (#2039)

This commit is contained in:
Pawel Winogrodzki 2022-01-28 12:26:19 -08:00 committed by GitHub
parent 4df8049648
commit 3137264d9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1314,6 +1314,7 @@ func (g *PkgGraph) fixPrebuiltSRPMsCycle(trimmedCycle []*PkgNode) (err error) {
err = g.AddEdge(parentNode, preBuiltNode)
if err != nil {
logger.Log.Errorf("Adding edge failed for %v -> %v", parentNode, preBuiltNode)
return
}
}
}