From 1031e07e8325fc043d741b697c197d5416bfcc98 Mon Sep 17 00:00:00 2001 From: Joe Betz Date: Fri, 25 Oct 2024 14:37:39 -0400 Subject: [PATCH] Fix comment in mutating webhook dispatcher --- .../pkg/admission/plugin/webhook/mutating/dispatcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go b/staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go index 71328de7f7f..77fac3c1141 100644 --- a/staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go +++ b/staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go @@ -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() }