Fix comment in mutating webhook dispatcher
Kubernetes-commit: 1031e07e8325fc043d741b697c197d5416bfcc98
This commit is contained in:
parent
c259217340
commit
b738c82d70
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue