Commit c9a8e3a
committed
Fix redundant code in LBStrategyWP2.getCandidate()
Remove unnecessary logic from getCandidate() since WP2 uses getWeightedCandidate()
instead. The function now simply satisfies the LBStrategy interface requirement
with minimal implementation.1 parent 32c7290 commit c9a8e3a
1 file changed
Lines changed: 3 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
| 136 | + | |
148 | 137 | | |
149 | 138 | | |
150 | 139 | | |
| |||
0 commit comments