1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-08 18:15:48 +00:00
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
This commit is contained in:
Jim Bugwadia 2021-10-06 22:05:28 -07:00
parent fa1816d605
commit 683543d8e2
2 changed files with 4 additions and 4 deletions

View file

@ -193,10 +193,10 @@ func mutateForEachResource(rule *kyverno.Rule, ctx *PolicyContext, resource unst
}
type mutateResponse struct {
skip bool
skip bool
patchedResource unstructured.Unstructured
patches [][]byte
message string
patches [][]byte
message string
}
func mutateResource(rule *kyverno.Rule, ctx *context.Context, resource unstructured.Unstructured, logger logr.Logger) (error, *mutateResponse) {

View file

@ -490,4 +490,4 @@ func incrementAppliedCount(resp *response.EngineResponse) {
func incrementErrorCount(resp *response.EngineResponse) {
resp.PolicyResponse.RulesErrorCount++
}
}