dotcloud/docker

View on GitHub
libnetwork/ipams/defaultipam/structures.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func PoolIDFromString(str string) (pID PoolID, err error) {
    if str == "" {
        return pID, types.InvalidParameterErrorf("invalid string form for subnetkey: %s", str)
    }

Severity: Major
Found in libnetwork/ipams/defaultipam/structures.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status