diff --git a/locator/simple_strategy.cc b/locator/simple_strategy.cc index 2c464299e5..d8c4514444 100644 --- a/locator/simple_strategy.cc +++ b/locator/simple_strategy.cc @@ -40,7 +40,9 @@ std::vector simple_strategy::calculate_natural_endpoints(const tok assert(ep); endpoints.push_back(*ep); - if (endpoints.size() == replicas) break; + if (endpoints.size() == replicas) { + break; + } } return std::move(endpoints.get_vector());