mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
BackgroundDaemon: mention emitted component level
This commit is contained in:
parent
79243f660a
commit
cec4b7b57b
@ -143,7 +143,8 @@ class BackgroundDaemon
|
||||
$dbResourceName = null
|
||||
) {
|
||||
$db = new DaemonDb($processDetails);
|
||||
$db->on('state', function ($state) use ($processState) {
|
||||
$db->on('state', function ($state, $level = null) use ($processState) {
|
||||
// TODO: level is sent but not used
|
||||
$processState->setComponentState('db', $state);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user