Merge pull request #62480 from Algunenano/random_clang_tidy

Fix random clang tidy warning
This commit is contained in:
Raúl Marín 2024-04-10 15:12:15 +00:00 committed by GitHub
commit b6d46317d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
} }