Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: lance6716 <[email protected]>
  • Loading branch information
lance6716 committed Feb 18, 2024
1 parent e240f62 commit 1510ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/executor/importer/chunk_process.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ type encodeReaderFn func(ctx context.Context) (data rowToEncode, closed bool, er

// parserEncodeReader wraps a mydump.Parser as a encodeReaderFn.
func parserEncodeReader(parser mydump.Parser, endOffset int64, filename string) encodeReaderFn {
return func(ctx context.Context) (data rowToEncode, closed bool, err error) {
return func(context.Context) (data rowToEncode, closed bool, err error) {
readPos, _ := parser.Pos()
if readPos >= endOffset {
closed = true
Expand Down

0 comments on commit 1510ec1

Please sign in to comment.