Skip to content

Commit

Permalink
Fix subreaper_linux.go
Browse files Browse the repository at this point in the history
  • Loading branch information
pomo-mondreganto committed Aug 23, 2023
1 parent 9b889b2 commit 16512de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ require (
github.com/prometheus/common v0.44.0
github.com/samber/lo v1.38.1
golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63
golang.org/x/sys v0.11.0
)

require (
Expand All @@ -48,7 +49,6 @@ require (
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
golang.org/x/net v0.14.0 // indirect
golang.org/x/sys v0.11.0 // indirect
golang.org/x/text v0.12.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions pkg/neoproc/subreaper_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package neoproc

import (
"fmt"

"golang.org/x/sys/unix"
)

// SetSubreaper sets current process as the subreaper for its children,
Expand Down

0 comments on commit 16512de

Please sign in to comment.