Fix comment in mutating webhook dispatcher

Kubernetes-commit: 1031e07e8325fc043d741b697c197d5416bfcc98
This commit is contained in:
Joe Betz 2024-10-25 14:37:39 -04:00 committed by Kubernetes Publisher
parent c259217340
commit b738c82d70
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ func (a *mutatingDispatcher) Dispatch(ctx context.Context, attr admission.Attrib
admissionmetrics.Metrics.ObserveWebhook(ctx, hook.Name, time.Since(t), rejected, versionedAttr.Attributes, "admit", 200)
}
if changed {
// Patch had changed the object. Prepare to reinvoke all previous webhooks that are eligible for re-invocation.
// Patch had changed the object. Prepare to reinvoke all previous mutations that are eligible for re-invocation.
webhookReinvokeCtx.RequireReinvokingPreviouslyInvokedPlugins()
reinvokeCtx.SetShouldReinvoke()
}