fiunchinho/dmz-controller

View on GitHub
ingress_whitelister.go

Summary

Maintainability
A
35 mins
Test Coverage

Method IngressWhitelister.Whitelist has 5 return statements (exceeds 4 allowed).
Open

func (whitelister *IngressWhitelister) Whitelist(key string) error {
    namespace, name, err := cache.SplitMetaNamespaceKey(key)
    if err != nil {
        return fmt.Errorf("Error splitting meta namespace key into parts: %s", err.Error())
    }
Severity: Major
Found in ingress_whitelister.go - About 35 mins to fix

    2: cannot find package "github.com/fiunchinho/dmz-controller/repository" in any of:
    Open

        "github.com/fiunchinho/dmz-controller/repository"
    Severity: Minor
    Found in ingress_whitelister.go by govet

    There are no issues that match your filters.

    Category
    Status