CID-1223272: Remove DLS code, exceptions and logging handled at lower layers
Signed-off-by: Rohit Yadav <rohit.ya...@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/statscollector-graphite Commit: f40f16b61815580717cd8ab0f70109c65c06e7ce Parents: 60e492a Author: Rohit Yadav <rohit.ya...@shapeblue.com> Authored: Thu Sep 25 16:46:18 2014 +0200 Committer: Rohit Yadav <rohit.ya...@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"); }