Skip to content

Commit

Permalink
Removing comments
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Schendel <amitschendel@gmail.com>
  • Loading branch information
amitschendel committed Jul 15, 2024
1 parent 3ba865f commit 832e175
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
5 changes: 0 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,3 @@ require (
)

replace github.com/vishvananda/netns => github.com/inspektor-gadget/netns v0.0.5-0.20230524185006-155d84c555d6

// fork of release-v0.28.1
// with this fix https://github.com/inspektor-gadget/inspektor-gadget/pull/2764
// until new IG version is released
// replace github.com/inspektor-gadget/inspektor-gadget => github.com/amirmalka/inspektor-gadget v0.27.1-0.20240519124445-e8e4abb82aa3
8 changes: 2 additions & 6 deletions pkg/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -580,12 +580,8 @@ func buildProcessTree(proc procfs.Proc, procfs *procfs.FS, shimPid uint32, proce
if err != nil {
return nil, err
} else {
// TODO: When (https://github.com/prometheus/procfs/pull/620) is merged, use the UID and GID as integers.
uid64 := status.UIDs[1]
uid = uint32(uid64)

gid64 := status.GIDs[1]
gid = uint32(gid64)
uid = uint32(status.UIDs[1])
gid = uint32(status.GIDs[1])
}

// Make the parent process the parent of the current process (move the current process to the parent's children).
Expand Down

0 comments on commit 832e175

Please sign in to comment.