mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
S2S VPN: CS-15998: Fix wrong vpc id in Site2SiteVpnGatewayResponse
This commit is contained in:
parent
07efdb6409
commit
a3faff94ff
@ -32,7 +32,7 @@ public class Site2SiteVpnGatewayResponse extends BaseResponse implements Control
|
||||
private String ip;
|
||||
|
||||
@SerializedName(ApiConstants.VPC_ID) @Param(description="the vpc id of this gateway")
|
||||
private Long vpcId;
|
||||
private IdentityProxy vpcId = new IdentityProxy("vpc");
|
||||
|
||||
@SerializedName(ApiConstants.ACCOUNT) @Param(description="the owner")
|
||||
private String accountName;
|
||||
@ -61,7 +61,7 @@ public class Site2SiteVpnGatewayResponse extends BaseResponse implements Control
|
||||
}
|
||||
|
||||
public void setVpcId(Long vpcId) {
|
||||
this.vpcId = vpcId;
|
||||
this.vpcId.setValue(vpcId);
|
||||
}
|
||||
|
||||
public void setRemoved(Date removed) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user