Skip to content

Commit

Permalink
remove unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
danmoseley committed Feb 9, 2025
1 parent 326db20 commit 1088996
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ protected override void RegisterComponent(HostApplicationBuilder builder, Action
builder.AddKeyedAzureEventHubBufferedProducerClient(key, settings => ConfigureCredentials(configure, settings));
}

ConfigureMockBlobServiceClient(builder);

void ConfigureCredentials(Action<AzureMessagingEventHubsBufferedProducerSettings>? configure, AzureMessagingEventHubsBufferedProducerSettings settings)
{
if (CanConnectToServer)
Expand Down Expand Up @@ -72,8 +70,6 @@ protected override void RegisterComponent(HostApplicationBuilder builder, Action
builder.AddKeyedAzureEventHubConsumerClient(key, settings => ConfigureCredentials(configure, settings));
}

ConfigureMockBlobServiceClient(builder);

void ConfigureCredentials(Action<AzureMessagingEventHubsConsumerSettings>? configure, AzureMessagingEventHubsConsumerSettings settings)
{
if (CanConnectToServer)
Expand Down Expand Up @@ -107,8 +103,6 @@ protected override void RegisterComponent(HostApplicationBuilder builder, Action
builder.AddKeyedAzureEventHubProducerClient(key, settings => ConfigureCredentials(configure, settings));
}

ConfigureMockBlobServiceClient(builder);

void ConfigureCredentials(Action<AzureMessagingEventHubsProducerSettings>? configure, AzureMessagingEventHubsProducerSettings settings)
{
if (CanConnectToServer)
Expand Down Expand Up @@ -178,8 +172,6 @@ protected override void RegisterComponent(HostApplicationBuilder builder, Action
builder.AddKeyedAzurePartitionReceiverClient(key, settings => ConfigureCredentials(configure, settings));
}

ConfigureMockBlobServiceClient(builder);

void ConfigureCredentials(Action<AzureMessagingEventHubsPartitionReceiverSettings>? configure, AzureMessagingEventHubsPartitionReceiverSettings settings)
{
if (CanConnectToServer)
Expand Down

0 comments on commit 1088996

Please sign in to comment.