Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
levy5307 committed Jul 23, 2021
1 parent e0179a7 commit 1a40343
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/meta/greedy_load_balancer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ void greedy_load_balancer::greedy_balancer(const bool balance_checker)
}

if (!balance_checker) {
cluster_balancer();
balance_cluster();
}
}

Expand Down Expand Up @@ -919,7 +919,7 @@ void greedy_load_balancer::app_balancer(bool balance_checker)
}
}

void greedy_load_balancer::cluster_balancer()
void greedy_load_balancer::balance_cluster()
{
const app_mapper &apps = *t_global_view->apps;
for (const auto &kv : apps) {
Expand Down
2 changes: 1 addition & 1 deletion src/meta/greedy_load_balancer.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class greedy_load_balancer : public simple_load_balancer

void app_balancer(bool balance_checker);

void cluster_balancer();
void balance_cluster();

bool cluster_replica_balance(const cluster_balance_type type);

Expand Down

0 comments on commit 1a40343

Please sign in to comment.