mirror of
https://github.com/sadoyan/aralez.git
synced 2026-10-23 22:21:37 +08:00
Removed reqwest dependency, moved all http client reqvetsts to native pingora.
This commit is contained in:
@@ -196,7 +196,7 @@ impl ServiceDiscovery for ConsulDiscovery {
|
||||
}
|
||||
|
||||
let pref = ss.clone() + &i.upstream;
|
||||
let list = httpclient::for_consul(pref, consul.token.clone(), &i).await;
|
||||
let list = httpclient::for_consul(pref.as_str(), consul.token.clone(), &i).await;
|
||||
list_to_upstreams(list, &upstreams, &i);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user