diff --git a/src/meta/greedy_load_balancer.cpp b/src/meta/greedy_load_balancer.cpp index edc8011fa2..7e5b030313 100644 --- a/src/meta/greedy_load_balancer.cpp +++ b/src/meta/greedy_load_balancer.cpp @@ -836,7 +836,7 @@ void greedy_load_balancer::greedy_balancer(const bool balance_checker) } if (!balance_checker) { - cluster_balancer(); + balance_cluster(); } } @@ -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) { diff --git a/src/meta/greedy_load_balancer.h b/src/meta/greedy_load_balancer.h index 6f35a1476e..c4ec51989c 100644 --- a/src/meta/greedy_load_balancer.h +++ b/src/meta/greedy_load_balancer.h @@ -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);