From: Jérémie Galarneau Date: Wed, 24 Mar 2021 18:21:40 +0000 (-0400) Subject: Fix: sessiond: agent: lazy creation of agent on removal X-Git-Tag: v2.13.0-rc1~187 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=566190c494083c9a460fbcb9052b5143a14a6e56;hp=566190c494083c9a460fbcb9052b5143a14a6e56 Fix: sessiond: agent: lazy creation of agent on removal When unregistering a trigger that was previously registered, the agent corresponding to the trigger's domain will already exist. It is superfluous to handle the case where it doesn't exist and it would only hide an internal error. Signed-off-by: Jérémie Galarneau Change-Id: Ifc6d14b74586af8423a70b3466e0a2c00491d3c3 ---