dotcloud/docker

View on GitHub
libnetwork/drivers/overlay/ov_utils.go

Summary

Maintainability
A
40 mins
Test Coverage

Function deleteVxlanByVNI has 6 return statements (exceeds 4 allowed).
Open

func deleteVxlanByVNI(path string, vni uint32) error {
    nlh := ns.NlHandle()
    if path != "" {
        ns, err := netns.GetFromPath(path)
        if err != nil {
Severity: Major
Found in libnetwork/drivers/overlay/ov_utils.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status