Update programs/extract-from-config/ExtractFromConfig.cpp

Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
This commit is contained in:
李扬 2022-12-28 15:06:57 +08:00 committed by GitHub
parent 437c31eca3
commit 4e3098bbc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>(