vorteil/direktiv

View on GitHub
pkg/gateway/plugins/target/target-workflow.go

Summary

Maintainability
A
35 mins
Test Coverage

Method FlowPlugin.Execute has 5 return statements (exceeds 4 allowed).
Open

func (tf *FlowPlugin) Execute(w http.ResponseWriter, r *http.Request) *http.Request {
    currentNS := gateway.ExtractContextEndpoint(r).Namespace
    if tf.Namespace == "" {
        tf.Namespace = currentNS
    }
Severity: Major
Found in pkg/gateway/plugins/target/target-workflow.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status