mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-18 03:23:45 +01:00
fixing build break due to commit a3a5862301b5b3d79abcf8dfef66283728954d55
This commit is contained in:
parent
8b909668fb
commit
64fb826640
@ -120,7 +120,7 @@ public class EnableStaticNatCmd extends BaseCmd{
|
|||||||
@Override
|
@Override
|
||||||
public void execute() throws ResourceUnavailableException{
|
public void execute() throws ResourceUnavailableException{
|
||||||
try {
|
try {
|
||||||
boolean result = _rulesService.enableStaticNat(ipAddressId, virtualMachineId, getNetworkId(), false, getVmSecondaryIp());
|
boolean result = _rulesService.enableStaticNat(ipAddressId, virtualMachineId, getNetworkId(), getVmSecondaryIp());
|
||||||
if (result) {
|
if (result) {
|
||||||
SuccessResponse response = new SuccessResponse(getCommandName());
|
SuccessResponse response = new SuccessResponse(getCommandName());
|
||||||
this.setResponseObject(response);
|
this.setResponseObject(response);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user