Skip to content

Commit

Permalink
Remove unnecessary uint conversion DATA-3441
Browse files Browse the repository at this point in the history
  • Loading branch information
katiepeters committed Dec 18, 2024
1 parent d415a79 commit fa26414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ func writeData(writer *bufio.Writer, dataRow []byte) error {
}

// Periodically flush to keep buffer size down.
if uint64(writer.Size()) > uint64(10_000_000) {
if writer.Size() > 10_000_000 {
if err = writer.Flush(); err != nil {
return err
}
Expand Down

0 comments on commit fa26414

Please sign in to comment.