File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ import (
12
12
"github.com/sirupsen/logrus"
13
13
14
14
"github.com/docker/go-units"
15
- "github.com/opencontainers/runc/libcontainer/configs"
16
15
"github.com/opencontainers/runc/libcontainer/intelrdt"
17
16
"github.com/opencontainers/runtime-spec/specs-go"
18
17
"github.com/urfave/cli"
@@ -377,15 +376,7 @@ other options are ignored.
377
376
// In update command, we could re-enable through IntelRdtManager.Apply()
378
377
// and then update intelrdt constraint.
379
378
if config .IntelRdt == nil {
380
- state , err := container .State ()
381
- if err != nil {
382
- return err
383
- }
384
- config .IntelRdt = & configs.IntelRdt {}
385
- intelRdtManager := intelrdt .NewManager (& config , container .ID (), state .IntelRdtPath )
386
- if err := intelRdtManager .Apply (state .InitProcessPid ); err != nil {
387
- return err
388
- }
379
+ return errors .New ("updating a non-existent Intel RDT configuration is not supported" )
389
380
}
390
381
if l3CacheSchema != "" {
391
382
config .IntelRdt .L3CacheSchema = l3CacheSchema
You can’t perform that action at this time.
0 commit comments