mirror of https://github.com/Icinga/icinga2.git
Bugfix: Incorrect array index in ACKNOWLEDGE_HOST_PROBLEM command.
This commit is contained in:
parent
4fcda6699f
commit
0faffeb873
|
@ -320,7 +320,7 @@ void ExternalCommandProcessor::AcknowledgeHostProblem(double, const vector<Strin
|
|||
if (arguments.size() < 6)
|
||||
BOOST_THROW_EXCEPTION(invalid_argument("Expected 6 arguments."));
|
||||
|
||||
bool sticky = Convert::ToBool(arguments[0]);
|
||||
bool sticky = Convert::ToBool(arguments[1]);
|
||||
|
||||
Host::Ptr host = Host::GetByName(arguments[0]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue