Skip to content

Commit 0924899

Browse files
committed
fix:polaris-rust clippy
1 parent 67ae625 commit 0924899

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/plugins/loadbalance/roundrobin/roundrobin.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ impl WeightedRoundRobin {
151151
}
152152

153153
fn increase_cur_weight(&self) -> u32 {
154-
155154
self.cur_weight.fetch_add(
156155
self.weight.load(std::sync::atomic::Ordering::Relaxed),
157156
std::sync::atomic::Ordering::Relaxed,

0 commit comments

Comments
 (0)