mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
fix ListObjects in azure
This commit is contained in:
parent
ed6d6056f2
commit
e9160ea860
@ -108,7 +108,7 @@ ListBlobsPagedResponse ContainerClientWrapper::ListBlobs(const ListBlobsOptions
|
|||||||
new_options.Prefix = blob_prefix / options.Prefix.ValueOr("");
|
new_options.Prefix = blob_prefix / options.Prefix.ValueOr("");
|
||||||
|
|
||||||
auto response = client.ListBlobs(new_options);
|
auto response = client.ListBlobs(new_options);
|
||||||
auto blob_prefix_str = blob_prefix.string() + "/";
|
auto blob_prefix_str = blob_prefix.empty() ? "" : blob_prefix.string() + "/";
|
||||||
|
|
||||||
for (auto & blob : response.Blobs)
|
for (auto & blob : response.Blobs)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user