Skip to content

Commit

Permalink
PR 9346: set response object name
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhouapache committed Jul 12, 2024
1 parent c04bfb4 commit 4579b49
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ public void execute() {
List<DataCenterIpv4SubnetResponse> subnetResponses = new ArrayList<>();
for (DataCenterIpv4GuestSubnet subnet : subnets) {
DataCenterIpv4SubnetResponse subnetResponse = routedIpv4Manager.createDataCenterIpv4SubnetResponse(subnet);
subnetResponse.setObjectName("zoneipv4subnet");
subnetResponses.add(subnetResponse);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ public void execute() {
List<Ipv4SubnetForGuestNetworkResponse> subnetResponses = new ArrayList<>();
for (Ipv4GuestSubnetNetworkMap subnet : subnets) {
Ipv4SubnetForGuestNetworkResponse subnetResponse = routedIpv4Manager.createIpv4SubnetForGuestNetworkResponse(subnet);
subnetResponse.setObjectName("ipv4subnetforguestnetwork");
subnetResponses.add(subnetResponse);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ public DataCenterIpv4SubnetResponse createDataCenterIpv4SubnetResponse(DataCente
}
}

response.setObjectName("zoneipv4subnet");
return response;
}

Expand Down Expand Up @@ -513,6 +514,7 @@ public Ipv4SubnetForGuestNetworkResponse createIpv4SubnetForGuestNetworkResponse
response.setZoneName(zone.getName());
}
}
response.setObjectName("ipv4subnetforguestnetwork");
return response;
}

Expand Down

0 comments on commit 4579b49

Please sign in to comment.