Skip to content

Commit

Permalink
fix VulnerabilityReport totalUniquePackages (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusfm authored Jun 19, 2024
1 parent aa8a01b commit 40ffd51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/zora/v1alpha2/vulnerabilityreport_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (in *VulnerabilityReportSpec) Summarize() {
}
for _, p := range v.Packages {
total++
unique[p.String()] = true
unique[p.Package+p.Version] = true
}
}
in.Summary = *s
Expand Down

0 comments on commit 40ffd51

Please sign in to comment.