mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Merge pull request #36127 from ClickHouse/vitlibar-patch-1
Fix code style in registerBackupEnginesFileAndDisk.cpp
This commit is contained in:
commit
2f11c5323e
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user