Skip to content

Commit

Permalink
Update Postgres healthcheck package (#380)
Browse files Browse the repository at this point in the history
* chore: update nuget package

* chore: unignore package in dependabot config
  • Loading branch information
tnotheis authored Nov 16, 2023
1 parent 5f38303 commit 523d713
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ updates:
patterns:
- "*"
exclude-patterns:
- "AspNetCore.HealthChecks.NpgSql"
- "Npgsql.EntityFrameworkCore.PostgreSQL"
reviewers:
- "tnotheis"
Expand Down
2 changes: 1 addition & 1 deletion AdminUi/src/AdminUi/AdminUi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<PackageReference Include="Serilog.Sinks.Http" Version="8.0.0" />
<PackageReference Include="Serilog.Sinks.Seq" Version="5.2.3" />
<!-- CAUTION: Do not upgrade 'AspNetCore.HealthChecks.NpgSql' before the following issue is resolved: https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks/issues/1993 -->
<PackageReference Include="AspNetCore.HealthChecks.NpgSql" Version="[6.0.2]" />
<PackageReference Include="AspNetCore.HealthChecks.NpgSql" Version="7.1.0" />
<PackageReference Include="AspNetCore.HealthChecks.SqlServer" Version="7.0.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
</PropertyGroup>

<ItemGroup>
<!-- CAUTION: Do not upgrade 'AspNetCore.HealthChecks.NpgSql' before the following issue is resolved: https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks/issues/1993 -->
<PackageReference Include="AspNetCore.HealthChecks.NpgSql" Version="[6.0.2]" />
<PackageReference Include="AspNetCore.HealthChecks.NpgSql" Version="7.1.0" />
<PackageReference Include="AspNetCore.HealthChecks.SqlServer" Version="7.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.13" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="7.0.13" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 523d713

Please sign in to comment.