mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
deps: update runc to v1.0.0-rc93
includes updates for breaking changes in runc v1.0.0-rc93
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user