From 2ee97cac84091c9f53dcc46ab3eda1ad9e398f2a Mon Sep 17 00:00:00 2001 From: Jonathan Cobb Date: Mon, 7 Sep 2020 19:52:57 -0400 Subject: [PATCH] remove todos --- src/ssh.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ssh.rs b/src/ssh.rs index 27ff9e8..3199f15 100644 --- a/src/ssh.rs +++ b/src/ssh.rs @@ -82,7 +82,6 @@ pub async fn spawn_ssh (ssh_container : Arc>, priv_key : Arc) -> Result> { let mut guard = ssh_container.lock().await; if (*guard).child.is_some() { - // todo: verify that child is still running info!("spawn_ssh: ssh tunnel exists, not respawning"); Ok(true) } else { @@ -148,7 +147,6 @@ pub async fn respawn_ssh (ssh_container : Arc>, checker_abort_handler : Arc>) -> Result> { let mut guard = ssh_container.lock().await; if (*guard).child.is_some() { - // todo: verify that child is still running info!("respawn_ssh: ssh tunnel exists, not respawning"); Ok(true) } else { @@ -306,7 +304,6 @@ async fn check_ssh (ssh_container : Arc>, error_count = error_count + 1; } "deleted" => { - // todo: shutdown ssh and ourselves debug!("check_ssh: tunnel status via {}: tunnel was deleted, stopping tunnel", check_url); deleted = true; }