Skip to content

Commit aedddc5

Browse files
committed
fix issue
1 parent 022060a commit aedddc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/process/finders/storage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ func (s *ProcessStorage) AddNewProcessInFinder(finder api.ProcessDetectType, pro
248248
}
249249
founded := false
250250
for _, existingProcess := range s.processes[finder] {
251-
if existingProcess.Pid() == existingProcess.Pid() && existingProcess.Entity().SameWith(existingProcess.Entity()) {
251+
if existingProcess.Pid() == newProcess.Pid() && existingProcess.Entity().SameWith(newProcess.Entity()) {
252252
founded = true
253253
break
254254
}

0 commit comments

Comments
 (0)