deps: update runc to v1.0.0-rc93

includes updates for breaking changes in runc v1.0.0-rc93
This commit is contained in:
zhsj
2021-03-31 22:57:02 +08:00
committed by GitHub
parent 9f0a4d4964
commit 46b335d652
269 changed files with 21714 additions and 12657 deletions

View File

@@ -21,6 +21,7 @@ import (
tu "github.com/hashicorp/nomad/testutil"
"github.com/opencontainers/runc/libcontainer/cgroups"
lconfigs "github.com/opencontainers/runc/libcontainer/configs"
"github.com/opencontainers/runc/libcontainer/devices"
"github.com/stretchr/testify/require"
"golang.org/x/sys/unix"
)
@@ -597,8 +598,8 @@ func TestExecutor_cmdDevices(t *testing.T) {
},
}
expected := &lconfigs.Device{
DeviceRule: lconfigs.DeviceRule{
expected := &devices.Device{
Rule: devices.Rule{
Type: 99,
Major: 1,
Minor: 3,