mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
Update programs/extract-from-config/ExtractFromConfig.cpp
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
This commit is contained in:
parent
437c31eca3
commit
4e3098bbc2
@ -96,7 +96,7 @@ static std::vector<std::string> extractFromConfig(
|
||||
DB::ConfigurationPtr bootstrap_configuration(new Poco::Util::XMLConfiguration(config_xml));
|
||||
|
||||
if (bootstrap_configuration->has("zookeeper") && bootstrap_configuration->has("keeper"))
|
||||
throw DB::Exception(DB::ErrorCodes::EXCESSIVE_ELEMENT_IN_CONFIG, "Both zookeeper and keeper are specified");
|
||||
throw DB::Exception(DB::ErrorCodes::EXCESSIVE_ELEMENT_IN_CONFIG, "Both ZooKeeper and Keeper are specified");
|
||||
|
||||
zkutil::ZooKeeperPtr zookeeper;
|
||||
zookeeper = std::make_shared<zkutil::ZooKeeper>(
|
||||
|
Loading…
Reference in New Issue
Block a user