initial file store
This commit is contained in:
+1
-3
@@ -148,8 +148,6 @@ func BuildReport(ctx context.Context, reader RecordReader, writer ReportWriter,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
// processRecord either adds buys to the queue or consumes buys from the queue when processing a
|
||||
@@ -186,7 +184,7 @@ func processRecord(ctx context.Context, q *FillerQueue, rec Record, sel Selector
|
||||
return ErrInsufficientBoughtVolume
|
||||
}
|
||||
|
||||
// Since we don't apply selectors while processing buys we need to apply them here, befre we
|
||||
// Since we don't apply selectors while processing buys we need to apply them here, before we
|
||||
// actually use them.
|
||||
if !sel(buy) {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user