cleanup harmony with clippy
This commit is contained in:
parent
024084859e
commit
74182bbc60
@ -107,7 +107,7 @@ impl OPNsenseShell for SshOPNSenseShell {
|
|||||||
match result {
|
match result {
|
||||||
Ok(bytes) => {
|
Ok(bytes) => {
|
||||||
if !bytes.is_empty() {
|
if !bytes.is_empty() {
|
||||||
remote_file.write(&bytes).await?;
|
AsyncWriteExt::write_all(&mut remote_file, &bytes).await?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Err(e) => todo!("Error unhandled {e}"),
|
Err(e) => todo!("Error unhandled {e}"),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user