Skip to content

Commit 9400ca1

Browse files
authored
[Event Hubs] Storage breaking change fix (#52972)
The focus of these tests is to fix a breaking change introduced in Storage where default parameters were removed from an overload, causing a build failure.
1 parent d1d93d4 commit 9400ca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/eventhub/Azure.Messaging.EventHubs.Shared/src/BlobCheckpointStore/BlobCheckpointStoreInternal.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public override async Task<IEnumerable<EventProcessorPartitionOwnership>> ListOw
141141
{
142142
var prefix = string.Format(CultureInfo.InvariantCulture, OwnershipPrefix, fullyQualifiedNamespace.ToLowerInvariant(), eventHubName.ToLowerInvariant(), consumerGroup.ToLowerInvariant());
143143

144-
await foreach (BlobItem blob in ContainerClient.GetBlobsAsync(traits: BlobTraits.Metadata, prefix: prefix, cancellationToken: cancellationToken).ConfigureAwait(false))
144+
await foreach (BlobItem blob in ContainerClient.GetBlobsAsync(BlobTraits.Metadata, BlobStates.None, prefix, cancellationToken).ConfigureAwait(false))
145145
{
146146
// In case this key does not exist, ownerIdentifier is set to null. This will force the PartitionOwnership constructor
147147
// to throw an exception.

0 commit comments

Comments
 (0)