Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sungam3r committed Dec 3, 2023
1 parent b7b929c commit 8794d32
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public async Task return_unhealthy_when_invoked_from_healthcheckservice()
.AddSingleton(_tableServiceClient)
.AddLogging()
.AddHealthChecks()
.AddAzureTable(optionsFactory: _ => new AzureTableServiceHealthCheckOptions() { TableName = TableName }, healthCheckName: HealthCheckName)
.AddAzureTable(optionsFactory: _ => new AzureTableServiceHealthCheckOptions() { TableName = TableName }, name: HealthCheckName)
.Services
.BuildServiceProvider();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public async Task return_unhealthy_when_invoked_from_healthcheckservice()
.AddSingleton(_blobServiceClient)
.AddLogging()
.AddHealthChecks()
.AddAzureBlobStorage(optionsFactory: _ => new AzureBlobStorageHealthCheckOptions() { ContainerName = ContainerName }, healthCheckName: HealthCheckName)
.AddAzureBlobStorage(optionsFactory: _ => new AzureBlobStorageHealthCheckOptions() { ContainerName = ContainerName }, name: HealthCheckName)
.Services
.BuildServiceProvider();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public async Task return_unhealthy_when_invoked_from_healthcheckservice()
.AddSingleton(_shareServiceClient)
.AddLogging()
.AddHealthChecks()
.AddAzureFileShare(optionsFactory: _ => new AzureFileShareHealthCheckOptions() { ShareName = ShareName }, healthCheckName: HealthCheckName)
.AddAzureFileShare(optionsFactory: _ => new AzureFileShareHealthCheckOptions() { ShareName = ShareName }, name: HealthCheckName)
.Services
.BuildServiceProvider();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public async Task return_unhealthy_when_invoked_from_healthcheckservice()
.AddSingleton(_queueServiceClient)
.AddLogging()
.AddHealthChecks()
.AddAzureQueueStorage(optionsFactory: _ => new AzureQueueStorageHealthCheckOptions() { QueueName = QueueName }, healthCheckName: HealthCheckName)
.AddAzureQueueStorage(optionsFactory: _ => new AzureQueueStorageHealthCheckOptions() { QueueName = QueueName }, name: HealthCheckName)
.Services
.BuildServiceProvider();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public async Task return_unhealthy_when_invoked_from_healthcheckservice()
.AddSingleton(_cosmosClient)
.AddLogging()
.AddHealthChecks()
.AddAzureCosmosDB(optionsFactory: _ => new AzureCosmosDbHealthCheckOptions() { DatabaseId = DatabaseId }, healthCheckName: HealthCheckName)
.AddAzureCosmosDB(optionsFactory: _ => new AzureCosmosDbHealthCheckOptions() { DatabaseId = DatabaseId }, name: HealthCheckName)
.Services
.BuildServiceProvider();

Expand Down

0 comments on commit 8794d32

Please sign in to comment.