Skip to content

Commit

Permalink
Merge pull request #39 from dzaporozhets/patch-1
Browse files Browse the repository at this point in the history
Fix spelling in json report
  • Loading branch information
arminc authored Dec 17, 2017
2 parents 08e36bc + a58902e commit 748c0de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type vulnerabilitiesWhitelist struct {

type vulnerabilityReport struct {
Image string `json:"image"`
Unaproved []string `json:"unaproved"`
Unapproved []string `json:"unapproved"`
Vulnerabilities []vulnerabilityInfo `json:"vulnerabilities"`
}

Expand Down Expand Up @@ -101,7 +101,7 @@ func printReport(imageName string, vulnerabilities []vulnerabilityInfo, unapprov
report := &vulnerabilityReport{
Image: imageName,
Vulnerabilities: vulnerabilities,
Unaproved: unapproved,
Unapproved: unapproved,
}
reportToFile(report, file)
}
Expand Down

0 comments on commit 748c0de

Please sign in to comment.