Skip to content

Commit

Permalink
use weight as param
Browse files Browse the repository at this point in the history
  • Loading branch information
v1xingyue authored Jul 18, 2024
1 parent 5b05294 commit f0cefff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pingora-load-balancing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl Backend {
.or_err(ErrorType::InternalError, "invalid socket addr")?;
Ok(Backend {
addr: SocketAddr::Inet(addr),
weight: weight,
weight,
})
// TODO: UDS
}
Expand Down

0 comments on commit f0cefff

Please sign in to comment.