mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-06 12:03:39 +09:00
The leak-healer only refused to disconnect an endpoint whose owning pod was Running, so a Pending owner that already held a live IPAM allocation (status.podIP is populated once the sandbox is created, before the pod goes Running) could have its endpoint evicted mid-startup. Refuse for any non-terminal phase (!= Succeeded && != Failed); only a terminal owner is safely past needing its endpoint. Addresses non-blocking follow-up 4 on #2948. Assisted-By: Claude <noreply@anthropic.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>