mirror of
https://github.com/sadoyan/aralez.git
synced 2026-06-20 06:04:11 +08:00
Add global headers for all upstreams with Option<T>
This commit is contained in:
@@ -11,10 +11,10 @@ pub fn print_upstreams(upstreams: &UpstreamsDashMap) {
|
||||
|
||||
for path_entry in host_entry.value().iter() {
|
||||
let path = path_entry.key();
|
||||
println!(" Path: {}", path);
|
||||
println!(" Path: {}", path);
|
||||
|
||||
for (ip, port, ssl) in path_entry.value().0.clone() {
|
||||
println!(" ===> IP: {}, Port: {}, SSL: {}", ip, port, ssl);
|
||||
println!(" ===> IP: {}, Port: {}, SSL: {}", ip, port, ssl);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user