From ed0e376bae85ac0f2d52211f736ce255920fba1d Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sun, 8 May 2022 15:58:39 -0700 Subject: [PATCH] Do not return a stream health overview if it is zero --- metrics/healthOverview.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/healthOverview.go b/metrics/healthOverview.go index 6a9b7b3d7..b2b8055ce 100644 --- a/metrics/healthOverview.go +++ b/metrics/healthOverview.go @@ -30,7 +30,7 @@ func generateStreamHealthOverview() { } pct := getClientErrorHeathyPercentage() - if pct == -1 { + if pct < 1 { metrics.streamHealthOverview = nil return }