1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-08 10:04:25 +00:00

remove mutation message when no rules are applied ()

This commit is contained in:
Jim Bugwadia 2020-09-30 11:37:40 -07:00 committed by GitHub
parent 712168ab67
commit 5f8c38966a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -430,8 +430,6 @@ func applyPolicyOnResource(policy *v1.ClusterPolicy, resource *unstructured.Unst
fmt.Printf("\n\nMutation:\nMutation has been applied succesfully. Check the files.")
}
} else {
fmt.Printf("\n\nMutation:\nMutation skipped. Resource not matches the policy\n")
}
}