mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
fix golangci-lint issues
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
This commit is contained in:
parent
6cf9fdd502
commit
94335d58c9
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ func Validate(policy *kyverno.ClusterPolicy, client *dclient.Client, mock bool,
|
|||
// - Mutate
|
||||
// - Validate
|
||||
// - Generate
|
||||
if err := validateActions(i, &rule, client, mock); err != nil {
|
||||
if err := validateActions(i, &p.Spec.Rules[i], client, mock); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue