mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-06 19:30:24 +00:00
runtime: Switch userns packages
Switch imports to resolve: ``` SA1019: "github.com/opencontainers/runc/libcontainer/userns" is deprecated: use github.com/moby/sys/userns ``` Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
@@ -24,7 +24,7 @@ import (
|
||||
"os"
|
||||
"sync"
|
||||
|
||||
"github.com/opencontainers/runc/libcontainer/userns"
|
||||
"github.com/moby/sys/userns"
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
|
@@ -9,7 +9,7 @@ import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/opencontainers/runc/libcontainer/userns"
|
||||
"github.com/moby/sys/userns"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user