Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
huantt committed Sep 12, 2023
1 parent 6087d79 commit e76512d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func CreateExportCommand() (*cobra.Command, error) {
for i := 0; i < concurrentConsumers; i++ {
go func(workerID int) {
defer wg.Done()
for true {
for {
outputFilePath := filePath
if exportLimitPerFile > 0 {
outputFilePath = fmt.Sprintf("%s.%d", filePath, time.Now().UnixMilli())
Expand Down

0 comments on commit e76512d

Please sign in to comment.