Skip to content

Commit cff86b5

Browse files
authored
fix(events): correct JSON encoder type in ScanStatsWorker (#6366)
Signed-off-by: Dwi Siswanto <git@dw1.io>
1 parent b0fe565 commit cff86b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/scan/events/stats_build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type ScanStatsWorker struct {
2525
m *sync.Mutex
2626
directory string
2727
file *os.File
28-
enc *json.Encoder
28+
enc json.Encoder
2929
}
3030

3131
// Init initializes the scan stats worker

0 commit comments

Comments
 (0)