Commit be8f0ee
committed
allocator: move ctx to first position in rebalance methods
Move `ctx context.Context` to the first parameter position in
`rebalanceStore` and `rebalanceLeases` to follow Go conventions. All
rebalance methods in this file now consistently have `ctx` as the first
parameter.
Updated all call sites accordingly.1 parent 682cc51 commit be8f0ee
File tree
1 file changed
+4
-4
lines changed- pkg/kv/kvserver/allocator/mmaprototype
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
| 454 | + | |
454 | 455 | | |
455 | 456 | | |
456 | | - | |
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
| |||
0 commit comments