mirror of https://github.com/apache/cloudstack.git
bug 10349: save pod_id along with host_id in state transition
This commit is contained in:
parent
5483bc21de
commit
723a85c084
|
|
@ -276,6 +276,7 @@ public class VMInstanceDaoImpl extends GenericDaoBase<VMInstanceVO, Long> implem
|
|||
|
||||
ub.set(vmi, "state", newState);
|
||||
ub.set(vmi, "hostId", hostId);
|
||||
ub.set(vmi, "podIdToDeployIn", vmi.getPodIdToDeployIn());
|
||||
ub.set(vmi, _updateTimeAttr, new Date());
|
||||
|
||||
int result = update(vmi, sc);
|
||||
|
|
|
|||
Loading…
Reference in New Issue