Merge pull request #36127 from ClickHouse/vitlibar-patch-1

Fix code style in registerBackupEnginesFileAndDisk.cpp
This commit is contained in:
tavplubix 2022-04-11 14:00:24 +03:00 committed by GitHub
commit 2f11c5323e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,8 @@ namespace
} }
/// Checks that a path specified as parameters of File() is valid. /// Checks that a path specified as parameters of File() is valid.
void checkPath(fs::path & path, const Poco::Util::AbstractConfiguration & config, const fs::path & data_dir) { void checkPath(fs::path & path, const Poco::Util::AbstractConfiguration & config, const fs::path & data_dir)
{
path = path.lexically_normal(); path = path.lexically_normal();
if (path.empty()) if (path.empty())
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Path to backup must not be empty"); throw Exception(ErrorCodes::BAD_ARGUMENTS, "Path to backup must not be empty");