From 46b7c5bc63dec21d1b2a68a36ad84298f9f176f2 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Wed, 23 Feb 2022 08:02:44 +0200 Subject: Bump CDI go dependency to v0.3.0 This updates the CDI dependency to the v0.3.0 tagged version instead of relying on a pseudo version. This also addresses the fact that cgroups are not set correctly for devices using the previous dependency. Signed-off-by: Evan Lezar --- .../container-device-interface/specs-go/config.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'vendor/github.com/container-orchestrated-devices/container-device-interface/specs-go') diff --git a/vendor/github.com/container-orchestrated-devices/container-device-interface/specs-go/config.go b/vendor/github.com/container-orchestrated-devices/container-device-interface/specs-go/config.go index 20914e5b6..090e30e43 100644 --- a/vendor/github.com/container-orchestrated-devices/container-device-interface/specs-go/config.go +++ b/vendor/github.com/container-orchestrated-devices/container-device-interface/specs-go/config.go @@ -2,11 +2,13 @@ package specs import "os" +// CurrentVersion is the current version of the Spec. +const CurrentVersion = "0.3.0" + // Spec is the base configuration for CDI type Spec struct { - Version string `json:"cdiVersion"` - Kind string `json:"kind"` - ContainerRuntime []string `json:"containerRuntime,omitempty"` + Version string `json:"cdiVersion"` + Kind string `json:"kind"` Devices []Device `json:"devices"` ContainerEdits ContainerEdits `json:"containerEdits,omitempty"` -- cgit v1.2.3-54-g00ecf