swarm-controller: fix stale route reference in snapshot's doc comment
This commit is contained in:
parent
baac3ef023
commit
775ab285b7
1 changed files with 2 additions and 3 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue