Skip to content

Commit 18ce0ea

Browse files
committed
fix: readd the sync to finalize flush
1 parent c8dd1d5 commit 18ce0ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/trace/cached_file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func (f *cachedFile) flush(buffer [][]byte) (int, error) {
9898
}
9999
total += i
100100
}
101-
return total, nil
101+
return total, f.file.Sync()
102102
}
103103

104104
// Close closes the file.

0 commit comments

Comments
 (0)