hive-sh4re: trim HostRequest::SetParent rustdoc (#717 batch 6)
This commit is contained in:
parent
18d0fbfecb
commit
fe6f96397e
1 changed files with 4 additions and 5 deletions
|
|
@ -40,11 +40,10 @@ pub enum HostRequest {
|
|||
Approve { id: i64 },
|
||||
/// Deny a pending request by id.
|
||||
Deny { id: i64 },
|
||||
/// Move an agent in the topology tree (#486). Pass `new_parent =
|
||||
/// None` to promote the agent to root, or `Some(name)` to set a
|
||||
/// new parent. Refuses cycles, unknown agents, and any attempt
|
||||
/// to reparent the manager (which is structurally root).
|
||||
/// Pure topology-json edit today; bind-mount work follows in #361.
|
||||
/// Move an agent in the topology tree. `new_parent = None`
|
||||
/// promotes the agent to root, `Some(name)` sets a new parent.
|
||||
/// Validation rules + bind-mount caveat documented in
|
||||
/// `docs/agent-hierarchy.md::Current state`.
|
||||
SetParent {
|
||||
child: String,
|
||||
new_parent: Option<String>,
|
||||
|
|
|
|||
Loading…
Reference in a new issue