Fix style

This commit is contained in:
Nikolay Degterinsky 2023-11-09 06:06:26 +01:00 committed by GitHub
parent 881dde00b2
commit 895ab2e57a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -259,7 +259,7 @@ ClusterPtr DatabaseReplicated::getClusterImpl() const
shards.back().push_back(DatabaseReplicaInfo{std::move(hostname), std::move(shard), std::move(replica)});
}
UInt16 default_port;
UInt16 default_port;
if (cluster_auth_info.cluster_secure_connection)
default_port = getContext()->getTCPPortSecure().value_or(DBMS_DEFAULT_SECURE_PORT);
else