From 523d713a7667c8ef0eb9e3891407f4fb10f93243 Mon Sep 17 00:00:00 2001 From: Timo Notheisen <65653426+tnotheis@users.noreply.github.com> Date: Thu, 16 Nov 2023 13:58:14 +0100 Subject: [PATCH] Update Postgres healthcheck package (#380) * chore: update nuget package * chore: unignore package in dependabot config --- .github/dependabot.yml | 1 - AdminUi/src/AdminUi/AdminUi.csproj | 2 +- AdminUi/src/AdminUi/Extensions/IServiceCollectionExtensions.cs | 2 +- .../src/BuildingBlocks.API/BuildingBlocks.API.csproj | 3 +-- .../Extensions/ServiceCollectionExtensions.cs | 2 +- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 43e4028758..507ba9986a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -10,7 +10,6 @@ updates: patterns: - "*" exclude-patterns: - - "AspNetCore.HealthChecks.NpgSql" - "Npgsql.EntityFrameworkCore.PostgreSQL" reviewers: - "tnotheis" diff --git a/AdminUi/src/AdminUi/AdminUi.csproj b/AdminUi/src/AdminUi/AdminUi.csproj index d4cf68e7ae..6108099575 100644 --- a/AdminUi/src/AdminUi/AdminUi.csproj +++ b/AdminUi/src/AdminUi/AdminUi.csproj @@ -35,7 +35,7 @@ - + diff --git a/AdminUi/src/AdminUi/Extensions/IServiceCollectionExtensions.cs b/AdminUi/src/AdminUi/Extensions/IServiceCollectionExtensions.cs index 77417819c6..c0cb46c9cb 100644 --- a/AdminUi/src/AdminUi/Extensions/IServiceCollectionExtensions.cs +++ b/AdminUi/src/AdminUi/Extensions/IServiceCollectionExtensions.cs @@ -139,7 +139,7 @@ public static IServiceCollection AddCustomAspNetCore(this IServiceCollection ser break; case "Postgres": services.AddHealthChecks().AddNpgSql( - npgsqlConnectionString: connectionString, + connectionString: connectionString, name: moduleName); break; default: diff --git a/BuildingBlocks/src/BuildingBlocks.API/BuildingBlocks.API.csproj b/BuildingBlocks/src/BuildingBlocks.API/BuildingBlocks.API.csproj index f2305d1c9f..9b95f316ba 100644 --- a/BuildingBlocks/src/BuildingBlocks.API/BuildingBlocks.API.csproj +++ b/BuildingBlocks/src/BuildingBlocks.API/BuildingBlocks.API.csproj @@ -5,8 +5,7 @@ - - + diff --git a/BuildingBlocks/src/BuildingBlocks.API/Extensions/ServiceCollectionExtensions.cs b/BuildingBlocks/src/BuildingBlocks.API/Extensions/ServiceCollectionExtensions.cs index f18852eb7c..16997a6123 100644 --- a/BuildingBlocks/src/BuildingBlocks.API/Extensions/ServiceCollectionExtensions.cs +++ b/BuildingBlocks/src/BuildingBlocks.API/Extensions/ServiceCollectionExtensions.cs @@ -24,7 +24,7 @@ public static void AddSqlDatabaseHealthCheck(this IServiceCollection services, s break; case "Postgres": services.AddHealthChecks().AddNpgSql( - npgsqlConnectionString: connectionString, + connectionString: connectionString, name: name); break; default: