mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Update src/Disks/DiskFomAST.cpp
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
This commit is contained in:
parent
06d154055f
commit
dbe3035b6d
@ -26,7 +26,7 @@ std::string getOrCreateCustomDisk(DiskConfigurationPtr config, const std::string
|
|||||||
{
|
{
|
||||||
Poco::Util::AbstractConfiguration::Keys disk_settings_keys;
|
Poco::Util::AbstractConfiguration::Keys disk_settings_keys;
|
||||||
config->keys(disk_settings_keys);
|
config->keys(disk_settings_keys);
|
||||||
// Check that no settings are defined when disk from the config is referred.
|
/// Check that no settings are defined when disk from the config is referred.
|
||||||
if (disk_settings_keys.empty())
|
if (disk_settings_keys.empty())
|
||||||
throw Exception(
|
throw Exception(
|
||||||
ErrorCodes::BAD_ARGUMENTS,
|
ErrorCodes::BAD_ARGUMENTS,
|
||||||
|
Loading…
Reference in New Issue
Block a user