derive per-agent egress entries from operator-linked accounts
This commit is contained in:
parent
7eb9db47d6
commit
9193f37963
1 changed files with 852 additions and 38 deletions
|
|
@ -65,6 +65,7 @@ pub async fn put_github_account(
|
|||
tracing::warn!(path = %secret_path, error = ?e, "linking the github token failed");
|
||||
e.problem(&existing(&agent))
|
||||
})?;
|
||||
crate::link_egress::added(&state, &agent, &crate::link_egress::Link::Github).await?;
|
||||
|
||||
tracing::info!(%hive, %agent, "github token stored");
|
||||
Ok(StatusCode::NO_CONTENT)
|
||||
|
|
|
|||
Loading…
Reference in a new issue