From 74182bbc60fd55ed8033f9fcab3065d1e93b2904 Mon Sep 17 00:00:00 2001 From: Ian Letourneau Date: Mon, 4 Aug 2025 17:49:40 -0400 Subject: [PATCH] cleanup harmony with clippy --- opnsense-config/src/config/shell/ssh.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opnsense-config/src/config/shell/ssh.rs b/opnsense-config/src/config/shell/ssh.rs index 3c66864..60d3702 100644 --- a/opnsense-config/src/config/shell/ssh.rs +++ b/opnsense-config/src/config/shell/ssh.rs @@ -107,7 +107,7 @@ impl OPNsenseShell for SshOPNSenseShell { match result { Ok(bytes) => { if !bytes.is_empty() { - remote_file.write(&bytes).await?; + AsyncWriteExt::write_all(&mut remote_file, &bytes).await?; } } Err(e) => todo!("Error unhandled {e}"),