pub fn answer(
broker: &Arc<Broker>,
mstore: &Arc<Store>,
id: &str,
version: &str,
accept: bool,
) -> Result<(), String>Expand description
The user’s answer to request id, for the release the prompt showed
(relayed by the host: POST /api/v1/host/upgrade_request). Upgrade now
answers every request for that release, since there is one AgentMux to
upgrade; if the update check has found a newer release since, it installs
nothing and the agent is told to ask again.