Skip to content

Commit 3281e59

Browse files
Fix vpc uuid in response
1 parent 6abb0b2 commit 3281e59

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

server/src/main/java/com/cloud/api/ApiResponseHelper.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5427,12 +5427,6 @@ public FirewallResponse createIpv6FirewallRuleResponse(FirewallRule fwRule) {
54275427
}
54285428

54295429
Long vpcId = fwRule.getVpcId();
5430-
if (vpcId == null && networkId != null) {
5431-
Network network = ApiDBUtils.findNetworkById(networkId);
5432-
if (network != null) {
5433-
vpcId = network.getVpcId();
5434-
}
5435-
}
54365430
if (vpcId != null) {
54375431
Vpc vpc = ApiDBUtils.findVpcById(vpcId);
54385432
if (vpc != null) {

0 commit comments

Comments
 (0)