mirror of https://github.com/apache/cloudstack.git
Revert "Fix for CS-15345". This issue was caused due some bug in VPC related cleanup code. The bug got fixed as part of 3caffc7855, so this is no longer needed.
This reverts commit a8c1568b37.
This commit is contained in:
parent
3070289266
commit
d4d1b1c5a9
|
|
@ -1307,11 +1307,8 @@ public class NetworkManagerImpl implements NetworkManager, NetworkService, Manag
|
|||
s_logger.debug("Releasing ip id=" + addrId + "; sourceNat = " + ip.isSourceNat());
|
||||
}
|
||||
|
||||
Network network = null;
|
||||
if (ip.getAssociatedWithNetworkId() != null) {
|
||||
network = _networksDao.findById(ip.getAssociatedWithNetworkId());
|
||||
}
|
||||
if (network != null) {
|
||||
Network network = _networksDao.findById(ip.getAssociatedWithNetworkId());
|
||||
try {
|
||||
if (!applyIpAssociations(network, true)) {
|
||||
s_logger.warn("Unable to apply ip address associations for " + network);
|
||||
|
|
|
|||
Loading…
Reference in New Issue