mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Merge pull request #62480 from Algunenano/random_clang_tidy
Fix random clang tidy warning
This commit is contained in:
commit
b6d46317d1
@ -35,9 +35,9 @@ int main(int argc, char ** argv)
|
|||||||
DB::CompressionCodecEncrypted::Configuration::instance().load(*loaded_config.configuration, "encryption_codecs");
|
DB::CompressionCodecEncrypted::Configuration::instance().load(*loaded_config.configuration, "encryption_codecs");
|
||||||
|
|
||||||
if (action == "-e")
|
if (action == "-e")
|
||||||
std::cout << processor.encryptValue(codec_name, value) << std::endl;
|
std::cout << DB::ConfigProcessor::encryptValue(codec_name, value) << std::endl;
|
||||||
else if (action == "-d")
|
else if (action == "-d")
|
||||||
std::cout << processor.decryptValue(codec_name, value) << std::endl;
|
std::cout << DB::ConfigProcessor::decryptValue(codec_name, value) << std::endl;
|
||||||
else
|
else
|
||||||
std::cerr << "Unknown action: " << action << std::endl;
|
std::cerr << "Unknown action: " << action << std::endl;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user