refactor(#2302): type socket wire fields as ident, validated by serde on deserialize
This commit is contained in:
parent
bf644cc126
commit
84b750fba5
33 changed files with 333 additions and 263 deletions
|
|
@ -422,7 +422,7 @@ pub async fn ensure_meta_remote(name: &str) -> Result<()> {
|
|||
}
|
||||
// A malformed name has no proposed config repo (repos are only created
|
||||
// under a validated Ident), so there's nothing to wire — no-op.
|
||||
let Ok(agent) = hive_host_sock::Ident::parse(name) else {
|
||||
let Ok(agent) = hive_types::Ident::parse(name) else {
|
||||
return Ok(());
|
||||
};
|
||||
let proposed_dir = Coordinator::agent_proposed_dir(&agent);
|
||||
|
|
|
|||
Loading…
Reference in a new issue