You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2014/09/25 17:19:29 UTC

[03/10] git commit: updated refs/heads/master to 410092b

CID-1223272: Remove DLS code, exceptions and logging handled at lower layers

Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


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

Branch: refs/heads/master
Commit: f40f16b61815580717cd8ab0f70109c65c06e7ce
Parents: 60e492a
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Thu Sep 25 16:46:18 2014 +0200
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Thu Sep 25 16:46:18 2014 +0200

----------------------------------------------------------------------
 .../cloudstack/api/command/admin/vpc/CreateVPCCmdByAdmin.java     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f40f16b6/api/src/org/apache/cloudstack/api/command/admin/vpc/CreateVPCCmdByAdmin.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/api/command/admin/vpc/CreateVPCCmdByAdmin.java b/api/src/org/apache/cloudstack/api/command/admin/vpc/CreateVPCCmdByAdmin.java
index 25e6325..b7f33bf 100644
--- a/api/src/org/apache/cloudstack/api/command/admin/vpc/CreateVPCCmdByAdmin.java
+++ b/api/src/org/apache/cloudstack/api/command/admin/vpc/CreateVPCCmdByAdmin.java
@@ -38,10 +38,9 @@ public class CreateVPCCmdByAdmin extends CreateVPCCmd {
     @Override
     public void execute() {
         Vpc vpc = null;
-        boolean success = true;
         try {
             if (isStart()) {
-                success = _vpcService.startVpc(getEntityId(), true);
+                _vpcService.startVpc(getEntityId(), true);
             } else {
                 s_logger.debug("Not starting VPC as " + ApiConstants.START + "=false was passed to the API");
              }