mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
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;
|
namespace Icinga\Module\Monitoring\Object;
|
||||||
|
|
||||||
use Icinga\Data\Filter\FilterEqual;
|
use Icinga\Data\Filter\FilterEqual;
|
||||||
|
use Icinga\Module\Monitoring\DataView\Hoststatus;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Icinga\Module\Monitoring\Backend\MonitoringBackend;
|
use Icinga\Module\Monitoring\Backend\MonitoringBackend;
|
||||||
|
|
||||||
@ -85,7 +86,7 @@ class Host extends MonitoredObject
|
|||||||
/**
|
/**
|
||||||
* Get the data view to fetch the host information from
|
* Get the data view to fetch the host information from
|
||||||
*
|
*
|
||||||
* @return \Icinga\Module\Monitoring\DataView\HostStatus
|
* @return Hoststatus
|
||||||
*/
|
*/
|
||||||
protected function getDataView()
|
protected function getDataView()
|
||||||
{
|
{
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
namespace Icinga\Module\Monitoring\Object;
|
namespace Icinga\Module\Monitoring\Object;
|
||||||
|
|
||||||
use Icinga\Data\Filter\FilterEqual;
|
use Icinga\Data\Filter\FilterEqual;
|
||||||
|
use Icinga\Module\Monitoring\DataView\Servicestatus;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use Icinga\Module\Monitoring\Backend\MonitoringBackend;
|
use Icinga\Module\Monitoring\Backend\MonitoringBackend;
|
||||||
|
|
||||||
@ -102,7 +103,7 @@ class Service extends MonitoredObject
|
|||||||
/**
|
/**
|
||||||
* Get the data view
|
* Get the data view
|
||||||
*
|
*
|
||||||
* @return \Icinga\Module\Monitoring\DataView\ServiceStatus
|
* @return Servicestatus
|
||||||
*/
|
*/
|
||||||
protected function getDataView()
|
protected function getDataView()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user