CID-1192798: Remove unused boolean variable

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2014-09-25 17:03:47 +02:00
parent f74446a195
commit 6e06ae9e8e

View File

@ -155,10 +155,9 @@ public class CreateVPCCmd extends BaseAsyncCreateCmd {
@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");
}