Skip to content

Commit 256892b

Browse files
committed
build: fix failure after forward merge
Signed-off-by: Abhishek Kumar <[email protected]>
1 parent 8fa8cef commit 256892b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

engine/orchestration/src/main/java/com/cloud/agent/manager/AgentManagerImpl.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,8 +1408,7 @@ protected void processRequest(final Link link, final Request request) {
14081408
// gateway was pingable
14091409
if (cmd instanceof PingRoutingCommand) {
14101410
processPingRoutingCommand((PingRoutingCommand) cmd, hostId);
1411-
final boolean gatewayAccessible = ((PingRoutingCommand)cmd).isGatewayAccessible();
1412-
final HostVO host = _hostDao.findById(Long.valueOf(cmdHostId));
1411+
gatewayAccessible = ((PingRoutingCommand)cmd).isGatewayAccessible();
14131412

14141413
if (host != null) {
14151414
if (!gatewayAccessible) {

0 commit comments

Comments
 (0)