vorteil/direktiv

View on GitHub
pkg/core/gateway.go

Summary

Maintainability
A
35 mins
Test Coverage

Function ParseEndpointFile has 5 return statements (exceeds 4 allowed).
Open

func ParseEndpointFile(ns string, filePath string, data []byte) Endpoint {
    res := &EndpointFile{}
    err := yaml.Unmarshal(data, res)
    if err != nil {
        return Endpoint{
Severity: Major
Found in pkg/core/gateway.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status