File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
components/ws-daemon/pkg/container Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import (
20
20
"github.com/containerd/containerd/api/types"
21
21
"github.com/containerd/containerd/containers"
22
22
"github.com/containerd/containerd/errdefs"
23
- "github.com/containerd/typeurl"
23
+ "github.com/containerd/typeurl/v2 "
24
24
ocispecs "github.com/opencontainers/runtime-spec/specs-go"
25
25
"github.com/opentracing/opentracing-go"
26
26
"golang.org/x/xerrors"
@@ -499,7 +499,7 @@ var kubepodsRegexp = regexp.MustCompile(`([^/]+)-pod`)
499
499
// in a container's OCI spec.
500
500
func ExtractCGroupPathFromContainer (container containers.Container ) (cgroupPath string , err error ) {
501
501
var spec ocispecs.Spec
502
- err = json .Unmarshal (container .Spec .Value , & spec )
502
+ err = json .Unmarshal (container .Spec .GetValue () , & spec )
503
503
if err != nil {
504
504
return
505
505
}
You can’t perform that action at this time.
0 commit comments