refactor(agent): drop vestigial install_configured param, non_empty_env helper, explicit infallible expect in client
This commit is contained in:
parent
9cebc128e2
commit
f2f104627d
4 changed files with 14 additions and 15 deletions
|
|
@ -76,7 +76,9 @@ where
|
|||
}
|
||||
}
|
||||
}
|
||||
Err(last_err.unwrap_or_else(|| anyhow!("hive socket: retries exhausted")))
|
||||
// Reaching here means the final attempt returned `Transient`, which always
|
||||
// sets `last_err` — so this is infallible.
|
||||
Err(last_err.expect("a transient failure on the final attempt set last_err"))
|
||||
}
|
||||
|
||||
/// Transient = connect / IO error worth a retry (server restart, broken
|
||||
|
|
|
|||
Loading…
Reference in a new issue