MonitoredObject: Fix object_type condition in method fetchHostVariables

refs #10304
This commit is contained in:
Johannes Meyer 2015-10-05 12:54:30 +02:00
parent 7696172249
commit 996959b65e

View File

@ -508,7 +508,7 @@ abstract class MonitoredObject implements Filterable
'varvalue',
'is_json'
))
->where('object_type', static::TYPE_SERVICE)
->where('object_type', static::TYPE_HOST)
->where('host_name', $this->host_name);
$this->hostVariables = array();