mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
PerfData: Don't render missing values as 0.00
This commit is contained in:
parent
7fd7efceb4
commit
a4d495e17c
@ -433,6 +433,10 @@ class Perfdata
|
||||
*/
|
||||
protected function format($value)
|
||||
{
|
||||
if ($value === null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if ($value instanceof ThresholdRange) {
|
||||
if ($value->getMin()) {
|
||||
return (string) $value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user