mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-18 03:23:45 +01:00
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
532de07176
commit
c85902b04c
@ -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…
x
Reference in New Issue
Block a user