Update DiskS3.cpp

This commit is contained in:
Nikolai Kochetov 2022-02-24 17:35:29 +01:00 committed by GitHub
parent 68cb2534fb
commit eaf6d8c5f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -286,7 +286,7 @@ std::unique_ptr<WriteBufferFromFileBase> DiskS3::writeFile(const String & path,
settings->s3_upload_part_size_multiply_parts_count_threshold,
settings->s3_max_single_part_upload_size,
std::move(object_metadata),
buf_size /*, std::move(schedule) */);
buf_size, std::move(schedule));
auto create_metadata_callback = [this, path, blob_name, mode] (size_t count)
{