mirror of https://github.com/apache/cloudstack.git
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 f40f16b618)
This commit is contained in:
parent
6e04f93785
commit
eb3773c27f
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue