Watch
0
0
Fork
You've already forked hyperhive
0

derive an agent's backend hosts into the egress allow list at the controller

This commit is contained in:
atlas 2026-10-29 01:10:38 +01:00 • committed by mara
commit c5a876b845

View file

@ -76,6 +76,8 @@ pub async fn put_backend_env(
error_problem(StatusCode::INTERNAL_SERVER_ERROR, &e.to_string())
})?;
crate::backend_egress::follow_env(&state, &agent, Some(&stored.env)).await?;
tracing::info!(%hive, %agent, "backend env stored");
Ok(StatusCode::NO_CONTENT)
}