CLOUDSTACK-3442: [PortableIP] [VPC] Unable to associate Portable IP to VPC

removing invalid check
This commit is contained in:
Murali Reddy 2013-07-10 19:28:22 +05:30
parent 664dc17b0b
commit 92884d1aa0
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}
}