cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mlsoren...@apache.org
Subject [3/3] git commit: updated refs/heads/4.2-forward to e9c99fc
Date Thu, 22 Aug 2013 21:51:41 GMT
CLOUDSTACK-4661: fix vpcid field in response of creating vpn gateway


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

Branch: refs/heads/4.2-forward
Commit: e9c99fc0d467b0c1db27c1dc6897bee5b71dc8c8
Parents: 255c847
Author: Marcus Sorensen <marcus@betterservers.com>
Authored: Thu Aug 22 15:17:12 2013 -0600
Committer: Marcus Sorensen <marcus@betterservers.com>
Committed: Thu Aug 22 15:19:38 2013 -0600

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e9c99fc0/server/src/com/cloud/api/ApiResponseHelper.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/ApiResponseHelper.java b/server/src/com/cloud/api/ApiResponseHelper.java
index 7ffb133..18e0ce3 100755
--- a/server/src/com/cloud/api/ApiResponseHelper.java
+++ b/server/src/com/cloud/api/ApiResponseHelper.java
@@ -3120,7 +3120,7 @@ public class ApiResponseHelper implements ResponseGenerator {
         response.setIp(ApiDBUtils.findIpAddressById(result.getAddrId()).getAddress().toString());
         Vpc vpc = ApiDBUtils.findVpcById(result.getVpcId());
         if (vpc != null) {
-            response.setVpcId(result.getUuid());
+            response.setVpcId(vpc.getUuid());
         }
         response.setRemoved(result.getRemoved());
         response.setObjectName("vpngateway");


Mime
View raw message