mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Fix code style in registerBackupEnginesFileAndDisk.cpp
This commit is contained in:
parent
5357cad105
commit
0ae63dfdbd
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user