mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-21 07:14:25 +01:00
It disconnects the agent connection and removes the sandbox from global sandbox list. A new option `LongLiveConn` is also added to kata agent's configuration. When set, the API caller is expected to call sandbox.Release() to drop the agent connection explicitly. `proxyBuiltIn` is moved out of agent state because we can always retrieve it from sandbox config instead. Fixes: #217 Signed-off-by: Peng Tao <bergwolf@gmail.com>