mirror of https://github.com/apache/cloudstack.git
CID-1192798: Remove unused boolean variable
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 6e06ae9e8e)
This commit is contained in:
parent
a420028d67
commit
fbb9e2b210
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue