Host/Servie::getDataView(): Fix return class name case
This commit is contained in:
parent
2fa9aaedb0
commit
ffe84507f9
|
@ -4,6 +4,7 @@
|
|||
namespace Icinga\Module\Monitoring\Object;
|
||||
|
||||
use Icinga\Data\Filter\FilterEqual;
|
||||
use Icinga\Module\Monitoring\DataView\Hoststatus;
|
||||
use InvalidArgumentException;
|
||||
use Icinga\Module\Monitoring\Backend\MonitoringBackend;
|
||||
|
||||
|
@ -85,7 +86,7 @@ class Host extends MonitoredObject
|
|||
/**
|
||||
* Get the data view to fetch the host information from
|
||||
*
|
||||
* @return \Icinga\Module\Monitoring\DataView\HostStatus
|
||||
* @return Hoststatus
|
||||
*/
|
||||
protected function getDataView()
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
namespace Icinga\Module\Monitoring\Object;
|
||||
|
||||
use Icinga\Data\Filter\FilterEqual;
|
||||
use Icinga\Module\Monitoring\DataView\Servicestatus;
|
||||
use InvalidArgumentException;
|
||||
use Icinga\Module\Monitoring\Backend\MonitoringBackend;
|
||||
|
||||
|
@ -102,7 +103,7 @@ class Service extends MonitoredObject
|
|||
/**
|
||||
* Get the data view
|
||||
*
|
||||
* @return \Icinga\Module\Monitoring\DataView\ServiceStatus
|
||||
* @return Servicestatus
|
||||
*/
|
||||
protected function getDataView()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue