Skip to content

Commit 4071d3a

Browse files
committed
use fork cgroup for testing
1 parent 0045004 commit 4071d3a

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

agent/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ require (
7474

7575
replace github.com/aws/amazon-ecs-agent/ecs-agent => ../ecs-agent
7676

77-
replace github.com/containerd/cgroups => github.com/singholt/cgroups v1.1.0
77+
replace github.com/containerd/cgroups => github.com/singholt/cgroups v1.10.4

agent/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTE
271271
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
272272
github.com/safchain/ethtool v0.0.0-20190326074333-42ed695e3de8/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4=
273273
github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
274-
github.com/singholt/cgroups v1.1.0 h1:iU9cgangLdg3phuNwx2I84JR+ncv8AeLx6hoUg3xek8=
275-
github.com/singholt/cgroups v1.1.0/go.mod h1:6ppBcbh/NOOUU+dMKrykgaBnK9lCIBxHqJDGwsa1mIw=
274+
github.com/singholt/cgroups v1.10.4 h1:jUpml3ur4O3aZ/R7iYi5jsv2W56fZnnkfSVJlZM/86E=
275+
github.com/singholt/cgroups v1.10.4/go.mod h1:6ppBcbh/NOOUU+dMKrykgaBnK9lCIBxHqJDGwsa1mIw=
276276
github.com/sirupsen/logrus v1.0.6/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc=
277277
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
278278
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=

agent/vendor/github.com/containerd/cgroups/cgroup.go

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

agent/vendor/modules.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ github.com/cilium/ebpf/internal
127127
github.com/cilium/ebpf/internal/sys
128128
github.com/cilium/ebpf/internal/unix
129129
github.com/cilium/ebpf/link
130-
# github.com/containerd/cgroups v1.1.0 => github.com/singholt/cgroups v1.1.0
130+
# github.com/containerd/cgroups v1.1.0 => github.com/singholt/cgroups v1.10.4
131131
## explicit; go 1.17
132132
github.com/containerd/cgroups
133133
github.com/containerd/cgroups/stats/v1
@@ -452,4 +452,4 @@ google.golang.org/protobuf/types/known/timestamppb
452452
## explicit
453453
gopkg.in/yaml.v3
454454
# github.com/aws/amazon-ecs-agent/ecs-agent => ../ecs-agent
455-
# github.com/containerd/cgroups => github.com/singholt/cgroups v1.1.0
455+
# github.com/containerd/cgroups => github.com/singholt/cgroups v1.10.4

0 commit comments

Comments
 (0)