libnetwork/ipams/defaultipam/structures.go
Function PoolIDFromString
has 5 return statements (exceeds 4 allowed). Open
Open
func PoolIDFromString(str string) (pID PoolID, err error) {
if str == "" {
return pID, types.InvalidParameterErrorf("invalid string form for subnetkey: %s", str)
}