mirror of https://github.com/apache/cloudstack.git
S2S VPN: CS-15998: Fix wrong vpc id in Site2SiteVpnGatewayResponse
This commit is contained in:
parent
3fd7b8eb6b
commit
d3977220a3
|
|
@ -28,7 +28,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;
|
||||
|
|
@ -57,7 +57,7 @@ public class Site2SiteVpnGatewayResponse extends BaseResponse implements Control
|
|||
}
|
||||
|
||||
public void setVpcId(Long vpcId) {
|
||||
this.vpcId = vpcId;
|
||||
this.id.setValue(vpcId);
|
||||
}
|
||||
|
||||
public void setRemoved(Date removed) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue