use weight as param

This commit is contained in:
v1xingyue 2024-07-18 13:19:22 +08:00 committed by GitHub
parent 5b05294e24
commit f0cefff7eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,7 +68,7 @@ impl Backend {
.or_err(ErrorType::InternalError, "invalid socket addr")?;
Ok(Backend {
addr: SocketAddr::Inet(addr),
weight: weight,
weight,
})
// TODO: UDS
}