From 4810dda3e935ce761e0f6cef94b6e789bc7d5370 Mon Sep 17 00:00:00 2001 From: Pritish Samal Date: Sat, 6 Nov 2021 20:35:31 +0530 Subject: [PATCH] fix typo in comments (#2685) Signed-off-by: CIPHERTron --- pkg/generate/generate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/generate/generate.go b/pkg/generate/generate.go index 0d293f1db9..430678b663 100644 --- a/pkg/generate/generate.go +++ b/pkg/generate/generate.go @@ -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