pub(crate) fn apply(
state: &AppState,
def: &mut AgentDefinition,
placement: &Placement,
) -> Result<(), String>Expand description
Make def (just inserted) a container agent as plan says, and store its limits. A native placement on a
definition that was a container one (a template’s) is agent_type and environment back to the host’s.