Display performance data metrics with value 0

fixes #8744
This commit is contained in:
Alexander A. Klimov 2015-05-12 17:44:53 +02:00
parent 9e4c00506d
commit 9e3d65e4e9
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class PerfdataSet implements IteratorAggregate
$label = trim($this->readLabel()); $label = trim($this->readLabel());
$value = trim($this->readUntil(' ')); $value = trim($this->readUntil(' '));
if ($label && $value) { if ($label) {
$this->perfdata[] = new Perfdata($label, $value); $this->perfdata[] = new Perfdata($label, $value);
} }
} }