swarm-queue-client: fix AgentState::Destroyed doc, entry never drops out of the set
This commit is contained in:
parent
29927b7dfe
commit
004cf7f449
1 changed files with 6 additions and 3 deletions
|
|
@ -92,9 +92,12 @@ pub enum AgentState {
|
||||||
/// Exists on the hive and is not running.
|
/// Exists on the hive and is not running.
|
||||||
Offline,
|
Offline,
|
||||||
/// Torn down entirely — the hive runs the destroy template once, then
|
/// Torn down entirely — the hive runs the destroy template once, then
|
||||||
/// this agent drops out of the declared set rather than staying as a
|
/// treats absence as agreement rather than re-running it. The key
|
||||||
/// third steady state. Irreversible: there is no state that brings a
|
/// stays in the declared set with this state forever, on purpose: it's
|
||||||
/// destroyed agent back short of a fresh deploy.
|
/// what lets a redeclare of an already-destroyed agent be rejected as
|
||||||
|
/// a terminal-state transition instead of silently reviving it.
|
||||||
|
/// Irreversible: there is no state that brings a destroyed agent back
|
||||||
|
/// short of a fresh deploy.
|
||||||
Destroyed,
|
Destroyed,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue