diff --git a/libcontainer/cgroups/ebpf/devicefilter/devicefilter_test.go b/libcontainer/cgroups/ebpf/devicefilter/devicefilter_test.go index a8fc562d0..d27933582 100644 --- a/libcontainer/cgroups/ebpf/devicefilter/devicefilter_test.go +++ b/libcontainer/cgroups/ebpf/devicefilter/devicefilter_test.go @@ -153,8 +153,7 @@ func TestDeviceFilter_Privileged(t *testing.T) { Allow: true, }, } - expected := - ` + expected := ` // load parameters into registers 0: LdXMemW dst: r2 src: r1 off: 0 imm: 0 1: And32Imm dst: r2 imm: 65535 diff --git a/libcontainer/process_linux.go b/libcontainer/process_linux.go index ae91d5b90..c2ee2da6b 100644 --- a/libcontainer/process_linux.go +++ b/libcontainer/process_linux.go @@ -39,13 +39,9 @@ type parentProcess interface { // startTime returns the process start time. startTime() (uint64, error) - signal(os.Signal) error - externalDescriptors() []string - setExternalDescriptors(fds []string) - forwardChildLogs() chan error } diff --git a/update.go b/update.go index d02e7af90..9ce5a2e83 100644 --- a/update.go +++ b/update.go @@ -194,7 +194,6 @@ other options are ignored. opt string dest *uint64 }{ - {"cpu-period", r.CPU.Period}, {"cpu-rt-period", r.CPU.RealtimePeriod}, {"cpu-share", r.CPU.Shares}, @@ -211,7 +210,6 @@ other options are ignored. opt string dest *int64 }{ - {"cpu-quota", r.CPU.Quota}, {"cpu-rt-runtime", r.CPU.RealtimeRuntime}, } {