Skip to content

Commit

Permalink
Use marker when listing blobs in azureblob-sdk
Browse files Browse the repository at this point in the history
References #606.
  • Loading branch information
gaul committed Nov 8, 2024
1 parent 5332a9d commit 07613b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public PageSet<? extends StorageMetadata> 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, "");
Expand Down

0 comments on commit 07613b9

Please sign in to comment.