mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
Handle cases when gipfl/linux-health returns false instead of memory usage.
This commit is contained in:
parent
75b73604a8
commit
4b229c122c
@ -114,7 +114,7 @@ class BackgroundDaemonDetails extends BaseHtmlElement
|
||||
$pid
|
||||
],
|
||||
Html::tag('pre', $process->command),
|
||||
Format::bytes($process->memory->rss)
|
||||
$process->memory === false ? 'n/a' : Format::bytes($process->memory->rss)
|
||||
]));
|
||||
}
|
||||
$this->add($table);
|
||||
|
Loading…
x
Reference in New Issue
Block a user