mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-23 07:29:00 -08:00
refactor: move PkgRef under PkgIdentifier (#5831)
Signed-off-by: knqyf263 <knqyf263@gmail.com>
This commit is contained in:
@@ -33,7 +33,6 @@ func detect(driver Driver, libs []ftypes.Package) ([]types.DetectedVulnerability
|
||||
for i := range vulns {
|
||||
vulns[i].Layer = lib.Layer
|
||||
vulns[i].PkgPath = lib.FilePath
|
||||
vulns[i].PkgRef = lib.Ref
|
||||
vulns[i].PkgIdentifier = lib.Identifier
|
||||
}
|
||||
vulnerabilities = append(vulnerabilities, vulns...)
|
||||
|
||||
Reference in New Issue
Block a user