1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

fix typo in comments (#2685)

Signed-off-by: CIPHERTron <pritish.samal918@gmail.com>
This commit is contained in:
Pritish Samal 2021-11-06 20:35:31 +05:30 committed by GitHub
parent 50cb1859c3
commit 4810dda3e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,7 @@ func (c *Controller) processGR(gr *kyverno.GenerateRequest) error {
genResources, err = c.applyGenerate(*resource, *gr, namespaceLabels)
if err != nil {
// Need not update the stauts when policy doesn't apply on resource, because all the generate requests are removed by the cleanup controller
// Need not update the status when policy doesn't apply on resource, because all the generate requests are removed by the cleanup controller
if strings.Contains(err.Error(), doesNotApply) {
logger.V(4).Info("skipping updating status of generate request")
return nil