From eb3773c27fd2ba3364c7ffb0674ffdffc7306727 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Thu, 25 Sep 2014 16:46:18 +0200 Subject: [PATCH] CID-1223272: Remove DLS code, exceptions and logging handled at lower layers Signed-off-by: Rohit Yadav (cherry picked from commit f40f16b61815580717cd8ab0f70109c65c06e7ce) --- .../cloudstack/api/command/admin/vpc/CreateVPCCmdByAdmin.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 25e63250155..b7f33bf25d3 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"); }