Do not return a stream health overview if it is zero

This commit is contained in:
Gabe Kangas
2022-05-08 15:58:39 -07:00
parent 21b82ebb2c
commit ed0e376bae

View File

@@ -30,7 +30,7 @@ func generateStreamHealthOverview() {
}
pct := getClientErrorHeathyPercentage()
if pct == -1 {
if pct < 1 {
metrics.streamHealthOverview = nil
return
}