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…
Reference in New Issue