mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-04 00:02:37 +01:00
CID-1192798: Remove unused boolean variable
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> (cherry picked from commit 6e06ae9e8ea879e892d6311761a6042fa78cea3f)
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…
x
Reference in New Issue
Block a user