Fix code style in registerBackupEnginesFileAndDisk.cpp

This commit is contained in:
Vitaly Baranov 2022-04-11 12:45:16 +02:00 committed by GitHub
parent 5357cad105
commit 0ae63dfdbd
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.
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();
if (path.empty())
throw Exception(ErrorCodes::BAD_ARGUMENTS, "Path to backup must not be empty");