Skip to content

Commit eb3773c

Browse files
yadvrke4qqq
authored andcommitted
CID-1223272: Remove DLS code, exceptions and logging handled at lower layers
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> (cherry picked from commit f40f16b)
1 parent 6e04f93 commit eb3773c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎api/src/org/apache/cloudstack/api/command/admin/vpc/CreateVPCCmdByAdmin.java‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@ public class CreateVPCCmdByAdmin extends CreateVPCCmd {
3838
@Override
3939
public void execute() {
4040
Vpc vpc = null;
41-
boolean success = true;
4241
try {
4342
if (isStart()) {
44-
success = _vpcService.startVpc(getEntityId(), true);
43+
_vpcService.startVpc(getEntityId(), true);
4544
} else {
4645
s_logger.debug("Not starting VPC as " + ApiConstants.START + "=false was passed to the API");
4746
}

0 commit comments

Comments
 (0)