mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-12 23:31:30 +00:00
6405c47064
Removing a Docker host blocks its reports, but the report path only ever consulted the in-memory block and offered no way for a legitimate re-enroll to clear it: reinstalling the agent with a newly generated token kept being rejected until a server restart happened to wipe the in-memory map, which read as the Docker tab staying missing until the Pulse server was rebooted. The restart also silently lifted deliberate blocks, because the persisted entry was never consulted on report. Docker reports now follow the host-agent rule from #1581: the block check consults both the in-memory map and the persisted store, and a token minted after the removal is explicit re-enroll intent that clears the block from both. A still-running old agent presenting its pre-removal token stays blocked, including across restarts. Refs #1728