cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From muralire...@apache.org
Subject git commit: updated refs/heads/master to 92884d1
Date Wed, 10 Jul 2013 14:01:14 GMT
Updated Branches:
  refs/heads/master 664dc17b0 -> 92884d1aa


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

removing invalid check


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/92884d1a
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/92884d1a
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/92884d1a

Branch: refs/heads/master
Commit: 92884d1aa02fd9287f47d95542331f92dfc8f88b
Parents: 664dc17
Author: Murali Reddy <muralimmreddy@gmail.com>
Authored: Wed Jul 10 19:28:22 2013 +0530
Committer: Murali Reddy <muralimmreddy@gmail.com>
Committed: Wed Jul 10 19:30:56 2013 +0530

----------------------------------------------------------------------
 server/src/com/cloud/network/NetworkServiceImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/92884d1a/server/src/com/cloud/network/NetworkServiceImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/network/NetworkServiceImpl.java b/server/src/com/cloud/network/NetworkServiceImpl.java
index 2f833d2..d4f9030 100755
--- a/server/src/com/cloud/network/NetworkServiceImpl.java
+++ b/server/src/com/cloud/network/NetworkServiceImpl.java
@@ -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");
             }
         }


Mime
View raw message