Skip to content

Commit 992ce6e

Browse files
authored
Merge pull request #1970 from bvbharatk/CLOUDSTACK-9725
CLOUDSTACK-9725 Failed to update VPC Network during N/w offering Upgr…
2 parents 0ca2841 + bbff9f1 commit 992ce6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/com/cloud/network/NetworkServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2022,7 +2022,7 @@ public Network updateGuestNetwork(final long networkId, String name, String disp
20222022
//perform below validation if the network is vpc network
20232023
if (network.getVpcId() != null && networkOfferingId != null) {
20242024
Vpc vpc = _entityMgr.findById(Vpc.class, network.getVpcId());
2025-
_vpcMgr.validateNtwkOffForNtwkInVpc(networkId, networkOfferingId, null, null, vpc, null, _accountMgr.getAccount(network.getAccountId()), null);
2025+
_vpcMgr.validateNtwkOffForNtwkInVpc(networkId, networkOfferingId, null, null, vpc, null, _accountMgr.getAccount(network.getAccountId()), network.getNetworkACLId());
20262026
}
20272027

20282028
// don't allow to update network in Destroy state

0 commit comments

Comments
 (0)