mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-09 11:58:16 +00:00
runtime: import runtime/v2/runc/options to decode request from Docker
Shimv2 protocol CreateTaskRequest.Options has a type of *google_protobuf.Any. If the call is from Docker, to decode the request, the proto types(github.com/containerd/containerd/runtime/v2/runc/options) should be imported. Fixes: #1576 Signed-off-by: bin <bin@hyper.sh>
This commit is contained in:
parent
b58fb25d88
commit
09d454ac74
@ -23,6 +23,7 @@ import (
|
|||||||
|
|
||||||
// only register the proto type
|
// only register the proto type
|
||||||
_ "github.com/containerd/containerd/runtime/linux/runctypes"
|
_ "github.com/containerd/containerd/runtime/linux/runctypes"
|
||||||
|
_ "github.com/containerd/containerd/runtime/v2/runc/options"
|
||||||
crioption "github.com/containerd/cri-containerd/pkg/api/runtimeoptions/v1"
|
crioption "github.com/containerd/cri-containerd/pkg/api/runtimeoptions/v1"
|
||||||
|
|
||||||
"github.com/kata-containers/kata-containers/src/runtime/pkg/katautils"
|
"github.com/kata-containers/kata-containers/src/runtime/pkg/katautils"
|
||||||
|
Loading…
Reference in New Issue
Block a user