remove history comments from code
This commit is contained in:
parent
eb3c6cd0c4
commit
4bb0d7f310
2 changed files with 2 additions and 7 deletions
|
|
@ -159,9 +159,6 @@ pub async fn rebuild_agent(
|
|||
/// hive-c0re manages the manager end-to-end: operators no longer declare
|
||||
/// `containers.h-ruth` in their host NixOS config. Bypasses the approval
|
||||
/// queue — manager is required infrastructure. Idempotent.
|
||||
///
|
||||
/// (Renamed from `ensure_manager` to align with the "root agent" terminology
|
||||
/// used in docs and issues; behaviour is identical.)
|
||||
pub async fn ensure_root_agent(coord: &Arc<Coordinator>) -> Result<()> {
|
||||
let existing = lifecycle::list().await.unwrap_or_default();
|
||||
let current_rev = current_flake_rev(&coord.hyperhive_flake);
|
||||
|
|
|
|||
|
|
@ -202,8 +202,7 @@ fn known_agents(_coord: &Coordinator) -> std::collections::HashSet<String> {
|
|||
if let Some(name) = raw.strip_prefix(crate::lifecycle::AGENT_PREFIX) {
|
||||
out.insert(name.to_owned());
|
||||
}
|
||||
// Note: the old `else if raw == MANAGER_NAME` branch was dead code;
|
||||
// the manager container uses the h- prefix like all other agents.
|
||||
|
||||
}
|
||||
}
|
||||
Err(e) => {
|
||||
|
|
@ -379,8 +378,7 @@ async fn known_agents_async() -> std::collections::HashSet<String> {
|
|||
if let Some(name) = raw.strip_prefix(crate::lifecycle::AGENT_PREFIX) {
|
||||
out.insert(name.to_owned());
|
||||
}
|
||||
// Note: the old `else if raw == MANAGER_NAME` branch was dead code;
|
||||
// the manager container uses the h- prefix like all other agents.
|
||||
|
||||
}
|
||||
}
|
||||
Err(e) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue