vorteil/direktiv

View on GitHub
pkg/gateway/plugins/inbound/acl-plugin.go

Summary

Maintainability
A
40 mins
Test Coverage

Method ACLPlugin.Execute has 6 return statements (exceeds 4 allowed).
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
Severity: Major
Found in pkg/gateway/plugins/inbound/acl-plugin.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status