Skip to content

Commit

Permalink
fix:polaris-rust clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
chuntaojun committed Oct 24, 2024
1 parent 67ae625 commit 0924899
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/plugins/loadbalance/roundrobin/roundrobin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ impl WeightedRoundRobin {
}

fn increase_cur_weight(&self) -> u32 {

self.cur_weight.fetch_add(
self.weight.load(std::sync::atomic::Ordering::Relaxed),
std::sync::atomic::Ordering::Relaxed,
Expand Down

0 comments on commit 0924899

Please sign in to comment.