This commit is contained in:
Kruglov Pavel 2023-04-24 19:12:50 +02:00 committed by GitHub
parent 2949ceced1
commit 8ff864cd8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -662,7 +662,7 @@ Pipe IStorageURLBase::read(
} }
else else
{ {
iterator_wrapper = std::make_shared<StorageURLSource::IteratorWrapper>([&, done = false]() mutable iterator_wrapper = std::make_shared<StorageURLSource::IteratorWrapper>([uri, max_addresses, done = false]() mutable
{ {
if (done) if (done)
return StorageURLSource::FailoverOptions{}; return StorageURLSource::FailoverOptions{};