Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
afdesk committed Dec 3, 2024
1 parent f318548 commit 065e723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/trivyk8s/trivyk8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func (c *client) getNamespaces() ([]string, error) {
namespaces, err := dClient.List(context.TODO(), v1.ListOptions{})
if err != nil {
if errors.IsForbidden(err) {
return result, fmt.Errorf("'exclude namespace' option requires a cluster role with permissions to list namespaces")
return result, fmt.Errorf("'exclude namespaces' option requires a cluster role with permissions to list namespaces")
}
return result, fmt.Errorf("unable to list namespaces: %w", err)
}
Expand Down

0 comments on commit 065e723

Please sign in to comment.