Open brett-wolf opened 1 month ago
Resolved this. I was not passing in an Action :
.AddAzureSearch(setup: new Action<AzureSearchOptions>(obj =>
{
obj.Endpoint = customerSearchOptions.ServiceUri;
obj.AuthKey = customerSearchOptions.ApiKey;
obj.IndexName = customerSearchOptions.IndexName;
}), name: "CustomerAzureSearch")
I am attempting to health check an azure search using AspNetCore.HealthChecks.AzureSearch. I have set up the healthcheck correctly, I believe :
I have checked that all the values being passed in are valid and not null, but running the health check, I get the following error: