mirror of
https://github.com/Icinga/icinga2.git
synced 2026-04-21 06:08:39 -04:00
Change result
This commit is contained in:
parent
33926ba983
commit
704aa0f685
1 changed files with 2 additions and 1 deletions
|
|
@ -770,6 +770,7 @@ Dictionary::Ptr ApiActions::ExecuteCommand(const ConfigObject::Ptr& object,
|
|||
}
|
||||
|
||||
Dictionary::Ptr result = new Dictionary();
|
||||
result->Set(checkable->GetName(), uuid);
|
||||
result->Set("checkable", checkable->GetName());
|
||||
result->Set("execution", uuid);
|
||||
return ApiActions::CreateResult(202, "Accepted", result);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue