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:
parent
50cb1859c3
commit
4810dda3e9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue