mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-4743: durning the accountCleanup, never attempt to release the public ips when the guest networks of the account failed to cleanup
This commit is contained in:
parent
0f976fd328
commit
8685661339
|
|
@ -697,7 +697,7 @@ public class AccountManagerImpl extends ManagerBase implements AccountManager, M
|
|||
}
|
||||
}
|
||||
|
||||
if (vpcsDeleted) {
|
||||
if (networksDeleted && vpcsDeleted) {
|
||||
// release ip addresses belonging to the account
|
||||
List<? extends IpAddress> ipsToRelease = _ipAddressDao.listByAccount(accountId);
|
||||
for (IpAddress ip : ipsToRelease) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue