Skip to content

Commit d82b362

Browse files
committed
sweepbatcher: fix code format
1 parent 16d56f1 commit d82b362

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

sweepbatcher/sweep_batch.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2439,6 +2439,7 @@ func (b *batch) isComplete() bool {
24392439
if err != nil && err != ErrBatchShuttingDown {
24402440
return false
24412441
}
2442+
24422443
return b.state == Confirmed
24432444
}
24442445

sweepbatcher/sweep_batcher_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4149,9 +4149,9 @@ func testSweepBatcherHandleSweepRace(t *testing.T, store testStore,
41494149
go func() {
41504150
defer addWG.Done()
41514151

4152-
// After this goroutine completes, stop the goroutine that handles
4153-
// registrations as well. Give it one second to finish the last
4154-
// AddSweep to prevent goroutine leaks.
4152+
// After this goroutine completes, stop the goroutine that
4153+
// handles registrations as well. Give it one second to finish
4154+
// the last AddSweep to prevent goroutine leaks.
41554155
defer time.AfterFunc(time.Second, confCancel)
41564156

41574157
for {

0 commit comments

Comments
 (0)