destroying an agent clears its per-agent archetype-flow switch-offs
This commit is contained in:
parent
13ff33ead0
commit
d8703f40dc
1 changed files with 117 additions and 0 deletions
|
|
@ -215,6 +215,7 @@ pub(crate) async fn set_agent_state(
|
|||
revoke_or_complain(&hive, &agent).await;
|
||||
agent_permissions::clear_on_destroy(&state, &hive, &agent).await;
|
||||
agent_archetype::clear_on_destroy(&state, &hive, &agent).await;
|
||||
crate::notify_flows::clear_on_destroy(&state, &hive, &agent).await;
|
||||
agents_md_initial::clear_on_destroy(&state, &hive, &agent).await;
|
||||
egress_allow::clear_on_destroy(&state, &hive, &agent).await;
|
||||
egress_deny::clear_on_destroy(&state, &hive, &agent).await;
|
||||
|
|
|
|||
Loading…
Reference in a new issue