Compare dashmaps

This commit is contained in:
Ara Sadoyan
2025-03-12 13:13:16 +01:00
parent df2df53f7d
commit 8b9caa8b08

View File

@@ -78,15 +78,8 @@ pub async fn watch_file(fp: String, mut toreturn: Sender<UpstreamMap>) {
println!("Config File changed :=> {:?}", e);
let upstreams = build_upstreams2("etc/upstreams-long.conf", "filepath");
print_upstreams(&upstreams);
let host_entry = upstreams.get("myip.netangels.net").unwrap();
let path_entry = host_entry.get("/").unwrap();
for p in path_entry.value().0.clone() {
println!(" {:?}", p);
}
println!("\n\n");
let snd = build_upstreams(file_path, "filepath");