Skip to content

Commit

Permalink
fix: use correct items list struct for ClusterVulnerabilityReportList (
Browse files Browse the repository at this point in the history
…aquasecurity#1793)

Signed-off-by: Frank Jogeleit <[email protected]>
  • Loading branch information
Frank Jogeleit authored Jan 22, 2024
1 parent 54e070e commit 259466a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/apis/aquasecurity/v1alpha1/vulnerability_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,6 @@ type ClusterVulnerabilityReportList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`

// Vulnerability is the spec for a vulnerability record.
Items []VulnerabilityReport `json:"items"`
// ClusterVulnerability is the spec for a cluster vulnerability record.
Items []ClusterVulnerabilityReport `json:"items"`
}
2 changes: 1 addition & 1 deletion pkg/apis/aquasecurity/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 259466a

Please sign in to comment.