forked from NationTech/harmony
chore: cargo fmt
This commit is contained in:
@@ -159,11 +159,7 @@ impl SshOPNSenseShell {
|
||||
wait_for_completion(&mut channel).await
|
||||
}
|
||||
|
||||
async fn ensure_remote_dir_exists(
|
||||
&self,
|
||||
sftp: &SftpSession,
|
||||
path: &str,
|
||||
) -> Result<(), Error> {
|
||||
async fn ensure_remote_dir_exists(&self, sftp: &SftpSession, path: &str) -> Result<(), Error> {
|
||||
if !sftp.try_exists(path).await? {
|
||||
info!("Creating remote directory {path}");
|
||||
sftp.create_dir(path).await?;
|
||||
|
||||
Reference in New Issue
Block a user