From f47f761cc494e8453bb6ff76ef3ac248c2d9c98a Mon Sep 17 00:00:00 2001 From: alesapin Date: Fri, 1 Jul 2022 16:04:20 +0200 Subject: [PATCH] Update src/Disks/ObjectStorages/HDFS/registerDiskHDFS.cpp Co-authored-by: Dmitry Novik --- src/Disks/ObjectStorages/HDFS/registerDiskHDFS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Disks/ObjectStorages/HDFS/registerDiskHDFS.cpp b/src/Disks/ObjectStorages/HDFS/registerDiskHDFS.cpp index 2c3a7454d4b..2f919577c15 100644 --- a/src/Disks/ObjectStorages/HDFS/registerDiskHDFS.cpp +++ b/src/Disks/ObjectStorages/HDFS/registerDiskHDFS.cpp @@ -43,7 +43,7 @@ void registerDiskHDFS(DiskFactory & factory) auto metadata_storage = std::make_shared(metadata_disk, uri); uint64_t copy_thread_pool_size = config.getUInt(config_prefix + ".thread_pool_size", 16); - std::shared_ptr disk_result = std::make_shared( + auto disk_result = std::make_shared( name, uri, "DiskHDFS",