createDir->createDirs in DiskEncrypted initialization

This commit is contained in:
Alexandra 2021-05-23 06:49:02 +00:00
parent 9029ca8c36
commit 2bb25f356d

View File

@ -235,7 +235,7 @@ private:
if (disk_path.back() != '/')
throw Exception("Disk path must ends with '/', but '" + disk_path + "' doesn't.", ErrorCodes::LOGICAL_ERROR);
delegate->createDirectory(disk_path);
delegate->createDirectories(disk_path);
}
String name;