Skip to content

Commit 0a8ce4b

Browse files
committed
undo auto fmt
Signed-off-by: Mohamed Hamza <mhamza15@github.com>
1 parent 37b7e62 commit 0a8ce4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/vt/vtgate/balancer/balancer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ func (b *tabletBalancer) allocateFlows(allTablets []*discovery.TabletHealth) *ta
314314
// to avoid truncating the integer values.
315315
shiftFlow := overAllocatedFlow * currentFlow * underAllocatedFlow / a.Inflows[overAllocatedCell] / unbalancedFlow
316316

317-
// fmt.Printf("shift %d %s %s -> %s (over %d current %d in %d under %d unbalanced %d) \n", shiftFlow, vtgateCell, overAllocatedCell, underAllocatedCell,
317+
//fmt.Printf("shift %d %s %s -> %s (over %d current %d in %d under %d unbalanced %d) \n", shiftFlow, vtgateCell, overAllocatedCell, underAllocatedCell,
318318
// overAllocatedFlow, currentFlow, a.Inflows[overAllocatedCell], underAllocatedFlow, unbalancedFlow)
319319

320320
a.Outflows[vtgateCell][overAllocatedCell] -= shiftFlow

0 commit comments

Comments
 (0)