mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Support runtime options type used in containerd v1.5
This commit is contained in:
@@ -15,3 +15,10 @@
|
||||
|
||||
// Package runtimeoptions contains the runtimeoptions proto.
|
||||
package runtimeoptions
|
||||
|
||||
import proto "github.com/gogo/protobuf/proto"
|
||||
|
||||
func init() {
|
||||
// TODO(gvisor.dev/issue/6449): Upgrade runtimeoptions.proto after upgrading to containerd 1.5
|
||||
proto.RegisterType((*Options)(nil), "runtimeoptions.v1.Options")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user