From 2e433b6459bd31853523515e77d1a366aa585fb7 Mon Sep 17 00:00:00 2001 From: Kiran Date: Fri, 10 Jan 2020 12:58:16 +0530 Subject: [PATCH] cluster.cpp file formatted --- dbms/src/Interpreters/Cluster.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dbms/src/Interpreters/Cluster.cpp b/dbms/src/Interpreters/Cluster.cpp index f0a025dcb4c..aaa6b31ab36 100644 --- a/dbms/src/Interpreters/Cluster.cpp +++ b/dbms/src/Interpreters/Cluster.cpp @@ -477,11 +477,7 @@ Cluster::Cluster(const Settings & settings, const Cluster & from) : shards_info{ { ShardInfo info; Address address = replicas[replica_index]; - auto position = find_if(hosts.begin(), hosts.end(), - [=](auto item) { - return std::get<0>(item) == address.host_name && - std::get<1>(item) == address.port; - }); + auto position = find_if(hosts.begin(), hosts.end(), [=](auto item) {return std::get<0>(item) == address.host_name && std::get<1>(item) == address.port;}); if (position == hosts.end()) { if (address.is_local)