-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(scanner): Store only distinct results of package scanners
When calling storage writers to store provenance scan results produced by package scanners, make sure that writers are invoked only once for each distinct combination of provenance and scan result. Before this change, if there were multiple root projects in a repository, the writers were called for each of them with the same scan result. This could lead to duplication when storing results. Signed-off-by: Oliver Heger <[email protected]>
- Loading branch information
1 parent
9c7494f
commit d42a87a
Showing
2 changed files
with
43 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters