Skip to content

Commit

Permalink
fix: uppercased package in json (#1900)
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Zantow <kzantow@gmail.com>
  • Loading branch information
kzantow committed May 30, 2024
1 parent 316c0e9 commit 31b0fcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions grype/search/cpe.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ type CPEPackageParameter struct {
}

type CPEParameters struct {
Namespace string `json:"namespace"`
CPEs []string `json:"cpes"`
Package CPEPackageParameter
Namespace string `json:"namespace"`
CPEs []string `json:"cpes"`
Package CPEPackageParameter `json:"package"`
}

func (i *CPEParameters) Merge(other CPEParameters) error {
Expand Down

0 comments on commit 31b0fcd

Please sign in to comment.