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/4.2 to ea04729
Date Wed, 10 Jul 2013 14:02:08 GMT
Updated Branches:
  refs/heads/4.2 c02e38d67 -> ea04729fd


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/ea04729f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ea04729f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ea04729f

Branch: refs/heads/4.2
Commit: ea04729fdb407275b4d4a69ceb7496e3e26ae4cf
Parents: c02e38d
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:31:54 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/ea04729f/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