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
|
/// Every agent with an open PR, per the last successful scan (plus any
|
||||||
/// webhook upserts since). The bulk counterpart to [`Self::get`] — for
|
/// webhook upserts since). The bulk counterpart to [`Self::get`] — for
|
||||||
/// `GET /api/agents/config-prs` (swarm-ui's config-PR table), which needs
|
/// `GET /api/config-prs` (swarm-ui's config-PR table), which needs every
|
||||||
/// every agent's status in one round trip rather than one request per
|
/// agent's status in one round trip rather than one request per agent.
|
||||||
/// agent.
|
|
||||||
pub fn snapshot(&self) -> HashMap<String, ConfigPrStatus> {
|
pub fn snapshot(&self) -> HashMap<String, ConfigPrStatus> {
|
||||||
self.0
|
self.0
|
||||||
.lock()
|
.lock()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue