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
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA

View File

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