From 07613b9fbaec361d3b23469273b7b0351e840f7b Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Thu, 7 Nov 2024 21:15:26 -0800 Subject: [PATCH] Use marker when listing blobs in azureblob-sdk References #606. --- src/main/java/org/gaul/s3proxy/azureblob/AzureBlobStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gaul/s3proxy/azureblob/AzureBlobStore.java b/src/main/java/org/gaul/s3proxy/azureblob/AzureBlobStore.java index 140718d3..1fde5e69 100644 --- a/src/main/java/org/gaul/s3proxy/azureblob/AzureBlobStore.java +++ b/src/main/java/org/gaul/s3proxy/azureblob/AzureBlobStore.java @@ -160,7 +160,7 @@ public PageSet list(String container, try { page = client.listBlobsByHierarchy( options.getDelimiter(), azureOptions, /*timeout=*/ null) - .iterableByPage().iterator().next(); + .iterableByPage(marker).iterator().next(); } catch (BlobStorageException bse) { if (bse.getErrorCode() == BlobErrorCode.CONTAINER_NOT_FOUND) { throw new ContainerNotFoundException(container, "");