mirror of https://github.com/Icinga/icinga2.git
parent
f091379177
commit
a2058f0e55
|
@ -91,7 +91,7 @@ bool StatusHandler::HandleRequest(const ApiUser::Ptr& user, HttpRequest& request
|
||||||
params->Set("type", "Status");
|
params->Set("type", "Status");
|
||||||
|
|
||||||
if (request.RequestUrl->GetPath().size() >= 3)
|
if (request.RequestUrl->GetPath().size() >= 3)
|
||||||
params->Set("name", request.RequestUrl->GetPath()[2]);
|
params->Set("status", request.RequestUrl->GetPath()[2]);
|
||||||
|
|
||||||
std::vector<Value> objs = FilterUtility::GetFilterTargets(qd, params, user);
|
std::vector<Value> objs = FilterUtility::GetFilterTargets(qd, params, user);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue