Skip to content

Commit

Permalink
chore: update the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
afdesk committed Dec 4, 2024
1 parent 065e723 commit eed731d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/trivyk8s/trivyk8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ func (c *client) initResourceList() {

// collect only included kinds
if len(c.includeKinds) != 0 {
// `includeKinds` are already low cased.
// a customer can input resources in different cases: Pods, deployments etc.
// `includeKinds` are already low cased, so we can just assign the values
c.resources = c.includeKinds
return
}
Expand Down

0 comments on commit eed731d

Please sign in to comment.