k8s/webhook/instance_index_injector.go
Method InstanceIndexEnvInjector.Handle
has 5 return statements (exceeds 4 allowed). Open
Open
func (i *InstanceIndexEnvInjector) Handle(ctx context.Context, req admission.Request) admission.Response {
logger := i.logger.Session("handle-webhook-request")
if req.Operation != admissionv1.Create {
return admission.Allowed("pod was already created")