mirror of https://github.com/apache/cloudstack.git
clean up public ip in secondary_storage_vm table after ssvm expunged
This commit is contained in:
parent
055ec48ae8
commit
595f9250b7
|
|
@ -1090,6 +1090,10 @@ public class SecondaryStorageManagerImpl implements SecondaryStorageVmManager, V
|
|||
|
||||
@Override
|
||||
public void finalizeExpunge(SecondaryStorageVmVO vm) {
|
||||
vm.setPublicIpAddress(null);
|
||||
vm.setPublicMacAddress(null);
|
||||
vm.setPublicNetmask(null);
|
||||
_secStorageVmDao.update(vm.getId(), vm);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue