mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-05 07:26:55 +00:00
Update validate_resource.go (#9534)
Signed-off-by: mohamedasifs123 <142201466+mohamedasifs123@users.noreply.github.com>
This commit is contained in:
parent
fd43c572fc
commit
e3274386e7
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ func (v *validator) validateForEach(ctx context.Context) *engineapi.RuleResponse
|
|||
if v.forEach == nil {
|
||||
return nil
|
||||
}
|
||||
return engineapi.RuleSkip(v.rule.Name, engineapi.Validation, "rule skipped")
|
||||
return nil
|
||||
}
|
||||
return engineapi.RulePass(v.rule.Name, engineapi.Validation, "rule passed")
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue