Do not return a stream health overview if it is zero
This commit is contained in:
parent
21b82ebb2c
commit
ed0e376bae
@ -30,7 +30,7 @@ func generateStreamHealthOverview() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pct := getClientErrorHeathyPercentage()
|
pct := getClientErrorHeathyPercentage()
|
||||||
if pct == -1 {
|
if pct < 1 {
|
||||||
metrics.streamHealthOverview = nil
|
metrics.streamHealthOverview = nil
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user