BUG is still here

pull/9/head
prplV 2024-07-04 09:32:37 -04:00
parent 70443881a1
commit f0fe76aa1f
2 changed files with 2 additions and 3 deletions

View File

@ -27,7 +27,7 @@
"triggers" : {
"wait" : 6,
"delay" : 1,
"onLost" : "stop"
"onLost" : "hold"
}
}]
}

View File

@ -292,7 +292,6 @@ async fn file_handler(name: &str, files: &Vec<Files>, tx: mpsc::Sender<u8>) {
continue;
},
Err(_) => {
println!("{}", file.triggers.on_delete.as_str());
match file.triggers.on_delete.as_str() {
"stay" => {
continue;
@ -344,7 +343,7 @@ async fn service_handler(name: &str, services: &Vec<Services>, tx: mpsc::Sender<
continue;
},
Err(_) => {
println!("Service {}:{} is inreachable for process {}", &serv.hostname, &serv.port, &name);
println!("Service {}:{} is unreachable for process {}", &serv.hostname, &serv.port, &name);
match serv.triggers.on_lost.as_str() {
"stay" => {
continue;