Skip to content

Commit 6fc9e45

Browse files
committed
synchronize replace rules in integration/client go.mod with main go.mod
Signed-off-by: Sebastiaan van Stijn <[email protected]> asdlkjasdlkj Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 1b05b60 commit 6fc9e45

3 files changed

Lines changed: 38 additions & 104 deletions

File tree

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ require (
6565
k8s.io/utils v0.0.0-20201110183641-67b214c5f920
6666
)
6767

68+
// When updating replace rules, make sure to also update the rules in integration/client/go.mod
6869
replace (
6970
github.com/gogo/googleapis => github.com/gogo/googleapis v1.3.2
7071
github.com/golang/protobuf => github.com/golang/protobuf v1.3.5

integration/client/go.mod

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ go 1.15
44

55
require (
66
github.com/Microsoft/hcsshim v0.8.15
7-
github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3
7+
github.com/Microsoft/hcsshim/test v0.0.0-20210326183024-65090e5b3e45
88
github.com/containerd/cgroups v0.0.0-20210114181951-8a68de567b68
9-
github.com/containerd/containerd v1.5.0-beta.3
9+
// the actual version of containerd is replaced with the code at the root of this repository
10+
github.com/containerd/containerd v1.5.0-beta.4
1011
github.com/containerd/go-runc v0.0.0-20201020171139-16b287bc67d0
1112
github.com/containerd/ttrpc v1.0.2
1213
github.com/containerd/typeurl v1.0.1
@@ -15,9 +16,26 @@ require (
1516
github.com/opencontainers/image-spec v1.0.1
1617
github.com/opencontainers/runtime-spec v1.0.3-0.20200929063507-e6143ca7d51d
1718
github.com/pkg/errors v0.9.1
18-
github.com/sirupsen/logrus v1.8.0
19-
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c
19+
github.com/sirupsen/logrus v1.7.0
20+
golang.org/x/sys v0.0.0-20210324051608-47abb6519492
2021
gotest.tools/v3 v3.0.3
2122
)
2223

23-
replace github.com/containerd/containerd => ../../
24+
replace (
25+
// use the containerd module from this repository instead of downloading
26+
//
27+
// IMPORTANT: this replace rule ONLY replaces containerd itself; dependencies
28+
// in the "require" section above are still taken into account for version
29+
// resolution if newer.
30+
github.com/containerd/containerd => ../../
31+
32+
// Replace rules below must be kept in sync with the main go.mod file at the
33+
// root, because that's the actual version expected by the "containerd/containerd"
34+
// dependency above.
35+
github.com/gogo/googleapis => github.com/gogo/googleapis v1.3.2
36+
github.com/golang/protobuf => github.com/golang/protobuf v1.3.5
37+
// urfave/cli must be <= v1.22.1 due to a regression: https://github.com/urfave/cli/issues/1092
38+
github.com/urfave/cli => github.com/urfave/cli v1.22.1
39+
google.golang.org/genproto => google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63
40+
google.golang.org/grpc => google.golang.org/grpc v1.27.1
41+
)

0 commit comments

Comments
 (0)