Skip to content

Commit a3faff9

Browse files
author
Sheng Yang
committed
S2S VPN: CS-15998: Fix wrong vpc id in Site2SiteVpnGatewayResponse
1 parent 07efdb6 commit a3faff9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

api/src/com/cloud/api/response/Site2SiteVpnGatewayResponse.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class Site2SiteVpnGatewayResponse extends BaseResponse implements Control
3232
private String ip;
3333

3434
@SerializedName(ApiConstants.VPC_ID) @Param(description="the vpc id of this gateway")
35-
private Long vpcId;
35+
private IdentityProxy vpcId = new IdentityProxy("vpc");
3636

3737
@SerializedName(ApiConstants.ACCOUNT) @Param(description="the owner")
3838
private String accountName;
@@ -61,7 +61,7 @@ public void setIp(String ip) {
6161
}
6262

6363
public void setVpcId(Long vpcId) {
64-
this.vpcId = vpcId;
64+
this.vpcId.setValue(vpcId);
6565
}
6666

6767
public void setRemoved(Date removed) {

0 commit comments

Comments
 (0)