Commit 81ef547
committed
mmaprototype: pass *rebalanceState as parameter to shedStore function
Change the shedStore IIFE to accept *rebalanceState as a parameter instead
of capturing it from the outer scope. This prepares the function for
extraction to a standalone method on *rebalanceState.1 parent 8397059 commit 81ef547
File tree
1 file changed
+2
-2
lines changed- pkg/kv/kvserver/allocator/mmaprototype
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
605 | | - | |
| 605 | + | |
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
| |||
0 commit comments