mirror of
https://github.com/sadoyan/aralez.git
synced 2026-04-29 22:38:36 +08:00
Compare dashmaps
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user