mirror of https://github.com/Icinga/icinga2.git
Fix second Deserialize() call in ApiEvents::ExecuteCommandAPIHandler
refs #8117
This commit is contained in:
parent
139540b570
commit
52102d815d
|
@ -1577,7 +1577,6 @@ Value ApiEvents::ExecuteCommandAPIHandler(const MessageOrigin& origin, const Dic
|
||||||
} else
|
} else
|
||||||
return Empty;
|
return Empty;
|
||||||
|
|
||||||
attrs->Clear();
|
|
||||||
attrs->Set(command_type, params->Get("command"));
|
attrs->Set(command_type, params->Get("command"));
|
||||||
attrs->Set("command_endpoint", sourceEndpoint->GetName());
|
attrs->Set("command_endpoint", sourceEndpoint->GetName());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue