Move NetDev utils from common/ to net/

This commit is contained in:
Martynas Pumputis committed 2016-10-19 17:03:30 +01:00
1 parent 3492cd93d0
commit e611f04f41
7 files changed
+172 -175

No files matched your search

+1 -2
View File
@@ -9,7 +9,6 @@ import (
"github.com/j-keck/arping"
"github.com/vishvananda/netlink"
"github.com/weaveworks/weave/common"
weavenet "github.com/weaveworks/weave/net"
)
@@ -120,7 +119,7 @@ func listNetDevs(args []string) error {
for _, link := range links {
if _, found := indexes[link.Attrs().Index]; found {
netdev, err := common.LinkToNetDev(link)
netdev, err := weavenet.LinkToNetDev(link)
if err != nil {
return err
}