mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-04 01:09:25 -05:00
IcingaDbState: last_state_change is now a DateTime Obj
ref https://github.com/Icinga/icingadb-web/pull/753
This commit is contained in:
parent
82ddeba163
commit
4143019412
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ class IcingaDbState
|
|||
}
|
||||
|
||||
if ($row->state->last_state_change !== null) {
|
||||
$node->setLastStateChange($row->state->last_state_change/1000);
|
||||
$node->setLastStateChange($row->state->last_state_change->getTimestamp());
|
||||
}
|
||||
if ($row->state->in_downtime) {
|
||||
$node->setDowntime(true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue