mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 14:54:24 +02:00
MonitoredObject: Fix object_type condition in method fetchHostVariables
refs #10304
This commit is contained in:
parent
7696172249
commit
996959b65e
@ -508,7 +508,7 @@ abstract class MonitoredObject implements Filterable
|
|||||||
'varvalue',
|
'varvalue',
|
||||||
'is_json'
|
'is_json'
|
||||||
))
|
))
|
||||||
->where('object_type', static::TYPE_SERVICE)
|
->where('object_type', static::TYPE_HOST)
|
||||||
->where('host_name', $this->host_name);
|
->where('host_name', $this->host_name);
|
||||||
|
|
||||||
$this->hostVariables = array();
|
$this->hostVariables = array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user