mirror of
https://github.com/siderolabs/discovery-service.git
synced 2025-03-14 09:55:08 +00:00
This addresses a pretty race case when cluster GC runs while the cluster just got created without any affiliates, but with a subscription. Client first watches cluster state, then adds an affiliate, so there might be a case when GC runs and sees a fresh cluster without any affiliates and GCes it. This also fixes test instability. Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>