Remove redis url from healthcheck
This commit is contained in:
@@ -14,7 +14,8 @@ namespace Managing.Api.HealthChecks
|
||||
_web3ProxyUrl = web3ProxyUrl;
|
||||
}
|
||||
|
||||
public async Task<HealthCheckResult> CheckHealthAsync(HealthCheckContext context, CancellationToken cancellationToken = default)
|
||||
public async Task<HealthCheckResult> CheckHealthAsync(HealthCheckContext context,
|
||||
CancellationToken cancellationToken = default)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -209,11 +210,6 @@ namespace Managing.Api.HealthChecks
|
||||
{
|
||||
redisData["errorType"] = errorTypeElement.GetString();
|
||||
}
|
||||
|
||||
if (redisDataElement.TryGetProperty("redisUrl", out var redisUrlElement))
|
||||
{
|
||||
redisData["redisUrl"] = redisUrlElement.GetString();
|
||||
}
|
||||
}
|
||||
|
||||
data["redis"] = redisData;
|
||||
|
||||
Reference in New Issue
Block a user