mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
4108415153
commit
747bc017e5
1 changed files with 0 additions and 3 deletions
|
@ -198,9 +198,6 @@ func (v *validator) validateForEach(ctx context.Context) *engineapi.RuleResponse
|
|||
applyCount += count
|
||||
}
|
||||
if applyCount == 0 {
|
||||
if v.forEach == nil {
|
||||
return nil
|
||||
}
|
||||
return nil
|
||||
}
|
||||
return engineapi.RulePass(v.rule.Name, engineapi.Validation, "rule passed")
|
||||
|
|
Loading…
Reference in a new issue