mirror of
https://github.com/anchore/syft.git
synced 2026-11-02 15:36:41 +01:00
Deduplicate digests from user configuration (#2522)
* deduplicate digests from user configuration Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * backout pointer reciever change on imageSource Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> --------- Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
@@ -25,7 +25,7 @@ type Cataloger struct {
|
||||
|
||||
func NewCataloger(hashes []crypto.Hash) *Cataloger {
|
||||
return &Cataloger{
|
||||
hashes: hashes,
|
||||
hashes: intFile.NormalizeHashes(hashes),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user