api: Fix RestartNetwork response type (#5571)

This commit is contained in:
Pearl Dsilva 2021-10-13 19:33:59 +05:30 committed by GitHub
parent ad8f3750c9
commit 1b464b4d06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -26,7 +26,6 @@ import org.apache.cloudstack.api.ApiErrorCode;
import org.apache.cloudstack.api.BaseAsyncCmd;
import org.apache.cloudstack.api.Parameter;
import org.apache.cloudstack.api.ServerApiException;
import org.apache.cloudstack.api.response.IPAddressResponse;
import org.apache.cloudstack.api.response.NetworkResponse;
import org.apache.cloudstack.api.response.SuccessResponse;
@ -40,7 +39,7 @@ import com.cloud.network.Network;
@APICommand(name = "restartNetwork",
description = "Restarts the network; includes 1) restarting network elements - virtual routers, DHCP servers 2) reapplying all public IPs 3) reapplying loadBalancing/portForwarding rules",
responseObject = IPAddressResponse.class, entityType = {Network.class},
responseObject = SuccessResponse.class, entityType = {Network.class},
requestHasSensitiveInfo = false,
responseHasSensitiveInfo = false)
public class RestartNetworkCmd extends BaseAsyncCmd {