Skip to content

Commit

Permalink
fix(redhat-oval): changed tag for Entry.Arches (#219)
Browse files Browse the repository at this point in the history
Co-authored-by: Teppei Fukuda <[email protected]>
  • Loading branch information
DmitriyLewen and knqyf263 authored Jun 2, 2022
1 parent 2bd1364 commit 39d8a67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/vulnsrc/redhat-oval/testdata/fixtures/happy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Cves:
- ID: CVE-2017-3145
Severity: 3
Arch:
Arches:
- i386
- ppc64
- x86_64
Expand Down
2 changes: 1 addition & 1 deletion pkg/vulnsrc/redhat-oval/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ type Definition struct {
type Entry struct {
FixedVersion string `json:",omitempty"`
Cves []CveEntry
Arches []string `json:"Arch,omitempty"`
Arches []string `json:",omitempty"`

// For DB size optimization, CPE names will not be stored.
// CPE indices are stored instead.
Expand Down

0 comments on commit 39d8a67

Please sign in to comment.