Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
test: change import path for NetworkInterface
Browse files Browse the repository at this point in the history
NetworkInterface has been moved from libcontainer to
package "github.com/opencontainers/runc/types"

Signed-off-by: Archana Shinde <[email protected]>
  • Loading branch information
amshinde committed Jan 23, 2020
1 parent e6cbfc1 commit 8d8d3f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions grpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
"github.com/opencontainers/runc/libcontainer/cgroups"
"github.com/opencontainers/runc/libcontainer/configs"
"github.com/opencontainers/runc/libcontainer/seccomp"
runctypes "github.com/opencontainers/runc/types"
"github.com/opencontainers/runtime-spec/specs-go"
"github.com/stretchr/testify/assert"
"golang.org/x/sys/unix"
Expand Down Expand Up @@ -523,8 +524,8 @@ func TestStatsContainer(t *testing.T) {
assert.Error(err)
assert.Nil(r)

network := &libcontainer.NetworkInterface{}
interfaces := make([]*libcontainer.NetworkInterface, 0)
network := &runctypes.NetworkInterface{}
interfaces := make([]*runctypes.NetworkInterface, 0)
interfaces = append(interfaces, network)

a.sandbox.containers[containerID] = &container{
Expand Down

0 comments on commit 8d8d3f8

Please sign in to comment.