libnetwork/ipams/null/null.go
Method allocator.RequestPool
has 5 return statements (exceeds 4 allowed). Open
Open
func (a *allocator) RequestPool(req ipamapi.PoolRequest) (ipamapi.AllocatedPool, error) {
if req.AddressSpace != defaultAddressSpace {
return ipamapi.AllocatedPool{}, types.InvalidParameterErrorf("unknown address space: %s", req.AddressSpace)
}
if req.Pool != "" {