Skip to content

Commit

Permalink
fix bug 1057 (#1058)
Browse files Browse the repository at this point in the history
Signed-off-by: Sunyanan Choochotkaew <[email protected]>
  • Loading branch information
sunya-ch authored Nov 16, 2023
1 parent 5cb98b5 commit f8427d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/bpfassets/attacher/libbpf_attacher.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ func libbpfCollectProcess() (processesData []ProcessBPFMetrics, err error) {
}
if ebpfBatchGetAndDelete {
processesData, err = libbpfCollectProcessBatchSingleHash(processes)
} else {
processesData, err = libbpfCollectProcessSingleHash(processes)
}
if err == nil {
return
Expand Down

0 comments on commit f8427d2

Please sign in to comment.