Skip to content

Commit 5faa7e5

Browse files
committed
Nuget updates + HealthCheck throws only on Unhealthy
1 parent 3528d43 commit 5faa7e5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/SharedKernel/Extensions/HealthCheckExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public static WebApplication EnsureHealthy(this WebApplication app)
2121
.GetResult();
2222

2323
var failures = report.Entries
24-
.Where(e => e.Value.Status != HealthStatus.Healthy)
24+
.Where(e => e.Value.Status == HealthStatus.Unhealthy)
2525
.Select(e => $"{e.Key}: {e.Value.Status}")
2626
.ToList();
2727

src/SharedKernel/SharedKernel.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
<PackageReadmeFile>Readme.md</PackageReadmeFile>
99
<Authors>Pandatech</Authors>
1010
<Copyright>MIT</Copyright>
11-
<Version>1.5.6</Version>
11+
<Version>1.5.7</Version>
1212
<PackageId>Pandatech.SharedKernel</PackageId>
1313
<Title>Pandatech Shared Kernel Library</Title>
1414
<PackageTags>Pandatech, shared kernel, library, OpenAPI, Swagger, utilities, scalar</PackageTags>
1515
<Description>Pandatech.SharedKernel provides centralized configurations, utilities, and extensions for ASP.NET Core projects. For more information refere to readme.md document.</Description>
1616
<RepositoryUrl>https://github.com/PandaTechAM/be-lib-sharedkernel</RepositoryUrl>
17-
<PackageReleaseNotes>Nuget updates</PackageReleaseNotes>
17+
<PackageReleaseNotes>Nuget updates + HealthCheck throws only on Unhealthy</PackageReleaseNotes>
1818
</PropertyGroup>
1919

2020
<ItemGroup>
@@ -52,7 +52,7 @@
5252
<PackageReference Include="Pandatech.FluentMinimalApiMapper" Version="2.0.4" />
5353
<PackageReference Include="Pandatech.PandaVaultClient" Version="4.0.6" />
5454
<PackageReference Include="Pandatech.ResponseCrafter" Version="5.2.0" />
55-
<PackageReference Include="Scalar.AspNetCore" Version="2.6.9" />
55+
<PackageReference Include="Scalar.AspNetCore" Version="2.7.0" />
5656
<PackageReference Include="Serilog.AspNetCore" Version="9.0.0" />
5757
<PackageReference Include="Serilog.Sinks.Async" Version="2.1.0" />
5858
<PackageReference Include="Serilog.Sinks.Grafana.Loki" Version="8.3.1" />

0 commit comments

Comments
 (0)