lfs/batcher: rename label Loop to Acc

This commit is contained in:
Taylor Blau 2016-09-19 14:51:23 -06:00
parent 653a52e30e
commit 79e42f37b1

@ -71,17 +71,17 @@ func (b *Batcher) acceptInput() {
for {
batch := make([]interface{}, 0, b.batchSize)
Loop:
Acc:
for len(batch) < b.batchSize {
select {
case t, ok := <-b.input:
if !ok {
exit = true // input channel was closed by Exit()
break Loop
break Acc
}
batch = append(batch, t)
case <-b.truncate:
break Loop
break Acc
}
}