Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit 5a3085e

Browse files
committed
Update containerd to b9eeaa1ce83dd9970605ddbd0b35d4d3fa5f87bd.
Signed-off-by: Lantao Liu <[email protected]>
1 parent 350e93c commit 5a3085e

File tree

352 files changed

+43291
-9187
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

352 files changed

+43291
-9187
lines changed

cmd/containerd/containerd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
_ "github.com/containerd/containerd/diff/walking/plugin"
2424
_ "github.com/containerd/containerd/gc/scheduler"
2525
_ "github.com/containerd/containerd/metrics/cgroups"
26-
_ "github.com/containerd/containerd/runtime/linux"
26+
_ "github.com/containerd/containerd/runtime/v1/linux"
2727
_ "github.com/containerd/containerd/services/containers"
2828
_ "github.com/containerd/containerd/services/content"
2929
_ "github.com/containerd/containerd/services/diff"

cri.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ import (
2424
"github.com/containerd/containerd/api/services/containers/v1"
2525
"github.com/containerd/containerd/api/services/diff/v1"
2626
"github.com/containerd/containerd/api/services/images/v1"
27-
"github.com/containerd/containerd/api/services/leases/v1"
2827
"github.com/containerd/containerd/api/services/namespaces/v1"
2928
"github.com/containerd/containerd/api/services/tasks/v1"
3029
"github.com/containerd/containerd/content"
30+
"github.com/containerd/containerd/leases"
3131
"github.com/containerd/containerd/log"
3232
"github.com/containerd/containerd/platforms"
3333
"github.com/containerd/containerd/plugin"
@@ -137,7 +137,7 @@ func getServicesOpts(ic *plugin.InitContext) ([]containerd.ServicesOpt, error) {
137137
return containerd.WithNamespaceService(s.(namespaces.NamespacesClient))
138138
},
139139
services.LeasesService: func(s interface{}) containerd.ServicesOpt {
140-
return containerd.WithLeasesService(s.(leases.LeasesClient))
140+
return containerd.WithLeasesService(s.(leases.Manager))
141141
},
142142
} {
143143
p := plugins[s]

pkg/containerd/importer/importer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func Import(ctx context.Context, client *containerd.Client, reader io.Reader) (_
103103
defer deferCancel()
104104
if err := done(deferCtx); err != nil {
105105
// Get lease id from context still works after context is done.
106-
leaseID, _ := leases.Lease(ctx)
106+
leaseID, _ := leases.FromContext(ctx)
107107
log.G(ctx).WithError(err).Errorf("Failed to release lease %q", leaseID)
108108
}
109109
}()

vendor.conf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ github.com/beorn7/perks 4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9
22
github.com/blang/semver v3.1.0
33
github.com/boltdb/bolt e9cf4fae01b5a8ff89d0ec6b32f0d9c9f79aefdd
44
github.com/BurntSushi/toml a368813c5e648fee92e5f6c30e3944ff9d5e8895
5-
github.com/containerd/cgroups fe281dd265766145e943a034aa41086474ea6130
6-
github.com/containerd/console 5d1b48d6114b8c9666f0c8b916f871af97b0a761
7-
github.com/containerd/containerd b382b6fe0bdbf7604c0a4f5c2089c0b159ad58b2
5+
github.com/containerd/cgroups 5e610833b72089b37d0e615de9a92dfc043757c2
6+
github.com/containerd/console 4d8a41f4ce5b9bae77c41786ea2458330f43f081
7+
github.com/containerd/containerd b9eeaa1ce83dd9970605ddbd0b35d4d3fa5f87bd
88
github.com/containerd/continuity d3c23511c1bf5851696cba83143d9cbcd666869b
99
github.com/containerd/fifo 3d5202aec260678c48179c56f40e6f38a095738c
1010
github.com/containerd/go-cni 5882530828ecf62032409b298a3e8b19e08b6534
11-
github.com/containerd/go-runc f271fa2021de855d4d918dbef83c5fe19db1bdd5
11+
github.com/containerd/go-runc edcf3de1f4971445c42d61f20d506b30612aa031
1212
github.com/containerd/ttrpc 94dde388801693c54f88a6596f713b51a8b30b2d
1313
github.com/containerd/typeurl a93fcdb778cd272c6e9b3028b2f42d813e785d40
1414
github.com/containernetworking/cni v0.6.0
@@ -41,7 +41,7 @@ github.com/modern-go/reflect2 05fbef0ca5da472bbf96c9322b84a53edc03c9fd
4141
github.com/opencontainers/go-digest c9281466c8b2f606084ac71339773efd177436e7
4242
github.com/opencontainers/image-spec v1.0.1
4343
github.com/opencontainers/runc 69663f0bd4b60df09991c08812a60108003fa340
44-
github.com/opencontainers/runtime-spec v1.0.1
44+
github.com/opencontainers/runtime-spec d810dbc60d8c5aeeb3d054bd1132fab2121968ce
4545
github.com/opencontainers/runtime-tools v0.6.0
4646
github.com/opencontainers/selinux 4a2974bf1ee960774ffd517717f1f45325af0206
4747
github.com/pkg/errors v0.8.0
@@ -62,7 +62,7 @@ github.com/xeipuuv/gojsonschema 1d523034197ff1f222f6429836dd36a2457a1874
6262
golang.org/x/crypto 49796115aa4b964c318aad4f3084fdb41e9aa067
6363
golang.org/x/net b3756b4b77d7b13260a0a2ec658753cf48922eac
6464
golang.org/x/sync 450f422ab23cf9881c94e2db30cac0eb1b7cf80c
65-
golang.org/x/sys 314a259e304ff91bd6985da2a7149bbf91237993 https://github.com/golang/sys
65+
golang.org/x/sys 1b2967e3c290b7c545b3db0deeda16e9be4f98a2 https://github.com/golang/sys
6666
golang.org/x/text 19e51611da83d6be54ddafce4a4af510cb3e9ea4
6767
golang.org/x/time f51c12702a4d776e4c1fa9b0fabab841babae631
6868
google.golang.org/genproto d80a6e20e776b0b17a324d0ba1ab50a39c8e8944

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

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

vendor/github.com/containerd/cgroups/control.go

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/containerd/cgroups/cpuset.go

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

0 commit comments

Comments
 (0)