mirror of
https://github.com/apache/cloudstack
synced 2026-08-28 16:36:07 +00:00
set guid to null when delete secondary storage
This commit is contained in:
parent
861b8f76ae
commit
bd4f3bfaa0
@ -769,6 +769,8 @@ public class AgentManagerImpl implements AgentManager, HandlerFactory {
|
||||
handleDisconnect(attache, Status.Event.Remove, false);
|
||||
|
||||
//now delete the host
|
||||
secStorageHost.setGuid(null);
|
||||
_hostDao.update(secStorageHost.getId(), secStorageHost);
|
||||
_hostDao.remove(secStorageHost.getId());
|
||||
|
||||
//delete the templates associated with this host
|
||||
|
||||
Loading…
Reference in New Issue
Block a user