Merge pull request #20870 from containers/renovate/github.com-shirou-gopsutil-v3-3.x

fix(deps): update module github.com/shirou/gopsutil/v3 to v3.23.11
This commit is contained in:
openshift-merge-bot[bot]
2023-12-06 01:20:09 +00:00
committed by GitHub
4 changed files with 6 additions and 7 deletions

View File

@ -286,11 +286,11 @@ func (p *Process) ChildrenWithContext(ctx context.Context) ([]*Process, error) {
}
func (p *Process) ConnectionsWithContext(ctx context.Context) ([]net.ConnectionStat, error) {
return nil, common.ErrNotImplementedError
return net.ConnectionsPidWithContext(ctx, "all", p.Pid)
}
func (p *Process) ConnectionsMaxWithContext(ctx context.Context, max int) ([]net.ConnectionStat, error) {
return nil, common.ErrNotImplementedError
return net.ConnectionsPidMaxWithContext(ctx, "all", p.Pid, max)
}
func ProcessesWithContext(ctx context.Context) ([]*Process, error) {