mirror of
https://github.com/cloudflare/pingora.git
synced 2024-09-20 02:31:35 +02:00
use weight as param
This commit is contained in:
parent
5b05294e24
commit
f0cefff7eb
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ impl Backend {
|
|||
.or_err(ErrorType::InternalError, "invalid socket addr")?;
|
||||
Ok(Backend {
|
||||
addr: SocketAddr::Inet(addr),
|
||||
weight: weight,
|
||||
weight,
|
||||
})
|
||||
// TODO: UDS
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue