Acknowledge SpawnSpec::Ssh host_id in build_command pattern

This commit is contained in:
megaproxy 2026-05-25 20:10:31 +01:00
parent 1c243b3f3f
commit b462f9f3bf

View file

@ -274,6 +274,9 @@ fn build_command(spec: &SpawnSpec) -> Result<(CommandBuilder, &'static str)> {
identity_file,
jump_host,
extra_args,
// Read in `spawn()` to look up the saved password; not needed
// when building the command line.
host_id: _,
} => {
validate_ssh_token("host", host)?;
if let Some(u) = user.as_deref() {