mirror of https://github.com/apache/cloudstack.git
bug 11307: Using latest query result rather than set bumpup to false
After the host is disconnected, we can't get latest result, but it's not safe to think it's priority bump up flag changed.
This commit is contained in:
parent
be2d3c4c11
commit
0ef051b4d2
|
|
@ -810,7 +810,7 @@ public class VirtualNetworkApplianceManagerImpl implements VirtualNetworkApplian
|
|||
command.setAccessDetail(NetworkElementCommand.ROUTER_NAME, router.getInstanceName());
|
||||
final CheckRouterAnswer answer = (CheckRouterAnswer) _agentMgr.easySend(router.getHostId(), command);
|
||||
RedundantState state = RedundantState.UNKNOWN;
|
||||
boolean isBumped = false;
|
||||
boolean isBumped = router.getIsPriorityBumpUp();
|
||||
if (answer != null && answer.getResult()) {
|
||||
state = answer.getState();
|
||||
isBumped = answer.isBumped();
|
||||
|
|
|
|||
Loading…
Reference in New Issue