Skip to content

Commit

Permalink
internal/triage/priority: add missing WITHDRAWN case in state function
Browse files Browse the repository at this point in the history
Change-Id: Ic50c5ff02d25a08d6d4950925a203a1c5eafff4c
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/609598
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Tatiana Bradley <tatianabradley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
  • Loading branch information
tatianab authored and gopherbot committed Aug 30, 2024
1 parent fe86cd7 commit 9f94aa9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/triage/priority/priority.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ func state(r *report.Report) reportState {
report.ExcludedLegacyFalsePositive:
return excludedBinary
case report.ExcludedNotAVulnerability,
report.ExcludedDependentVulnerabilty:
report.ExcludedDependentVulnerabilty,
report.ExcludedWithdrawn:
return excludedOther
default:
return unknownReportState
Expand Down

0 comments on commit 9f94aa9

Please sign in to comment.