Skip to content

Commit 343607a

Browse files
typo fix
1 parent 1e4114a commit 343607a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1370,7 +1370,7 @@ private AgentAttache sendReadyAndGetAttache(HostVO host, ReadyCommand ready, Lin
13701370

13711371
logger.debug("Acquired lock on host {}, to process agent connection", host);
13721372
try {
1373-
if (!indirectAgentLB.compareManagementServerListAndLBAlorithm(host.getId(), host.getDataCenterId(), agentMSHostList, lbAlgorithm)) {
1373+
if (!indirectAgentLB.compareManagementServerListAndLBAlgorithm(host.getId(), host.getDataCenterId(), agentMSHostList, lbAlgorithm)) {
13741374
final List<String> newMSList = indirectAgentLB.getManagementServerList(host.getId(), host.getDataCenterId(), null);
13751375
ready.setMsHostList(newMSList);
13761376
String newLBAlgorithm = indirectAgentLB.getLBAlgorithmName();

framework/agent-lb/src/main/java/org/apache/cloudstack/agent/lb/IndirectAgentLB.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public interface IndirectAgentLB {
5555
* @param lbAlgorithm received LB algorithm
5656
* @return true if mgmtHosts and LB algorithm are up to date, false if not
5757
*/
58-
boolean compareManagementServerListAndLBAlorithm(Long hostId, Long dcId, List<String> receivedMSHosts, String lbAlgorithm);
58+
boolean compareManagementServerListAndLBAlgorithm(Long hostId, Long dcId, List<String> receivedMSHosts, String lbAlgorithm);
5959

6060
/**
6161
* Returns the configure LB algorithm

server/src/main/java/org/apache/cloudstack/agent/lb/IndirectAgentLBServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public List<String> getManagementServerList(final Long hostId, final Long dcId,
149149
}
150150

151151
@Override
152-
public boolean compareManagementServerListAndLBAlorithm(final Long hostId, final Long dcId, final List<String> receivedMSHosts, final String lbAlgorithm) {
152+
public boolean compareManagementServerListAndLBAlgorithm(final Long hostId, final Long dcId, final List<String> receivedMSHosts, final String lbAlgorithm) {
153153
if (receivedMSHosts == null || receivedMSHosts.isEmpty()) {
154154
return false;
155155
}

0 commit comments

Comments
 (0)