CRD Conversion

Kubernetes-commit: e2ca575d0f40d94578c7c0babce543ab5199d2d0
This commit is contained in:
Mehdy Bohlool 2018-11-09 14:55:06 -08:00 committed by Kubernetes Publisher
parent 81499b5be2
commit 26065df432
1 changed files with 1 additions and 0 deletions

View File

@ -164,6 +164,7 @@ func (a *Webhook) Dispatch(attr admission.Attributes) error {
return admission.NewForbidden(attr, fmt.Errorf("not yet ready to handle request"))
}
hooks := a.hookSource.Webhooks()
// TODO: Figure out if adding one second timeout make sense here.
ctx := context.TODO()
var relevantHooks []*v1beta1.Webhook