Skip to content

Commit

Permalink
Fixing typo
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Schendel <[email protected]>
  • Loading branch information
amitschendel committed Dec 18, 2024
1 parent d5bf6a3 commit ecd15b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/processmanager/v1/process_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ func (p *ProcessManager) GetProcessTreeForPID(containerID string, pid int) (apit
}

// If the process is runc, try to fetch the real process info.
// Intentiaoanlly we are doing this only once the process is asked for to avoid unnecessary calls to /proc and give time for the process to be created.
// Intentionally we are doing this only once the process is asked for to avoid unnecessary calls to /proc and give time for the process to be created.
if strings.HasPrefix(result.Comm, runCCommPrefix) {
if process, err := p.getProcessFromProc(int(result.PID)); err == nil {
childerns := result.Children
Expand Down

0 comments on commit ecd15b7

Please sign in to comment.