mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
Fix return type for PluginCheckTask::ScriptFunc.
This commit is contained in:
parent
70e96aa2f0
commit
5d73b69342
@ -34,7 +34,7 @@ using namespace icinga;
|
||||
|
||||
REGISTER_SCRIPTFUNCTION(PluginCheck, &PluginCheckTask::ScriptFunc);
|
||||
|
||||
Value PluginCheckTask::ScriptFunc(const Service::Ptr& service)
|
||||
Dictionary::Ptr PluginCheckTask::ScriptFunc(const Service::Ptr& service)
|
||||
{
|
||||
Value raw_command = service->GetCheckCommand();
|
||||
|
||||
|
@ -34,7 +34,7 @@ namespace icinga
|
||||
class I2_ICINGA_API PluginCheckTask
|
||||
{
|
||||
public:
|
||||
static Value ScriptFunc(const Service::Ptr& service);
|
||||
static Dictionary::Ptr ScriptFunc(const Service::Ptr& service);
|
||||
|
||||
static ServiceState ExitStatusToState(int exitStatus);
|
||||
static Dictionary::Ptr ParseCheckOutput(const String& output);
|
||||
|
Loading…
x
Reference in New Issue
Block a user