pkg/gateway/plugins/inbound/acl-plugin.go
Method ACLPlugin.Execute
has 6 return statements (exceeds 4 allowed). Open
Open
func (acl *ACLPlugin) Execute(w http.ResponseWriter, r *http.Request) *http.Request {
c := gateway.ExtractContextActiveConsumer(r)
if c == nil {
gateway.WriteInternalError(r, w, nil, "missing consumer")
return nil