mirror of
https://github.com/kyverno/kyverno.git
synced 2025-04-08 18:15:48 +00:00
fmt
Signed-off-by: Jim Bugwadia <jim@nirmata.com>
This commit is contained in:
parent
fa1816d605
commit
683543d8e2
2 changed files with 4 additions and 4 deletions
|
@ -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) {
|
||||
|
|
|
@ -490,4 +490,4 @@ func incrementAppliedCount(resp *response.EngineResponse) {
|
|||
|
||||
func incrementErrorCount(resp *response.EngineResponse) {
|
||||
resp.PolicyResponse.RulesErrorCount++
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue