Skip to content

Commit

Permalink
fix: readd the sync to finalize flush
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-forbes committed Aug 15, 2024
1 parent c8dd1d5 commit 18ce0ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/trace/cached_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (f *cachedFile) flush(buffer [][]byte) (int, error) {
}
total += i
}
return total, nil
return total, f.file.Sync()
}

// Close closes the file.
Expand Down

0 comments on commit 18ce0ea

Please sign in to comment.