mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-3442: [PortableIP] [VPC] Unable to associate Portable IP to VPC
removing invalid check
This commit is contained in:
parent
664dc17b0b
commit
92884d1aa0
|
|
@ -593,7 +593,7 @@ public class NetworkServiceImpl extends ManagerBase implements NetworkService {
|
|||
|
||||
if (vpcId != null) {
|
||||
Vpc vpc = _vpcDao.findById(vpcId);
|
||||
if (vpc != null) {
|
||||
if (vpc == null) {
|
||||
throw new InvalidParameterValueException("Invalid vpc id is given");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue