swarm-controller: fix stale route reference in snapshot's doc comment

This commit is contained in:
damocles 2026-08-19 22:27:12 +02:00
commit 775ab285b7

View file

@ -95,9 +95,8 @@ impl ConfigPrCache {
/// Every agent with an open PR, per the last successful scan (plus any
/// webhook upserts since). The bulk counterpart to [`Self::get`] — for
/// `GET /api/agents/config-prs` (swarm-ui's config-PR table), which needs
/// every agent's status in one round trip rather than one request per
/// agent.
/// `GET /api/config-prs` (swarm-ui's config-PR table), which needs every
/// agent's status in one round trip rather than one request per agent.
pub fn snapshot(&self) -> HashMap<String, ConfigPrStatus> {
self.0
.lock()