diff options
author | Paweł Gronowski <pawel.gronowski@docker.com> | 2023-03-01 17:39:40 +0100 |
---|---|---|
committer | Paweł Gronowski <pawel.gronowski@docker.com> | 2023-03-08 11:26:32 +0100 |
commit | a8f5c524a09881e0fca5f1612c501c5de500cb73 (patch) | |
tree | 22bbde2eb63d6e3433820ec5b1cfc4353fdc373a /libcontainerd | |
parent | d7e5708bb45bb7bb24755ebbba1839be578833f4 (diff) | |
download | docker-a8f5c524a09881e0fca5f1612c501c5de500cb73.tar.gz |
libcontainerd: Upgrade to typeurl/v2
In preparation for containerd v1.7 which migrates off gogo/protobuf
and changes the protobuf Any type to one that's not supported by our
vendored version of typeurl.
This fixes a compile error on usages of `typeurl.UnmarshalAny` when
upgrading to containerd v1.7.
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
Diffstat (limited to 'libcontainerd')
-rw-r--r-- | libcontainerd/remote/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcontainerd/remote/client.go b/libcontainerd/remote/client.go index 41eadac01d..23c008d931 100644 --- a/libcontainerd/remote/client.go +++ b/libcontainerd/remote/client.go @@ -23,7 +23,7 @@ import ( "github.com/containerd/containerd/events" "github.com/containerd/containerd/images" v2runcoptions "github.com/containerd/containerd/runtime/v2/runc/options" - "github.com/containerd/typeurl" + "github.com/containerd/typeurl/v2" "github.com/docker/docker/errdefs" "github.com/docker/docker/libcontainerd/queue" libcontainerdtypes "github.com/docker/docker/libcontainerd/types" |