pkg/ip: do not leak types from vendored netlink package
The exported function SetupVeth now returns a package-defined type. Signed-off-by: Gabe Rosenhouse <grosenhouse@pivotal.io>
This commit is contained in:

committed by
Gabe Rosenhouse

parent
4f36e5994e
commit
58c834c4f3
@ -46,8 +46,8 @@ var _ = Describe("Link", func() {
|
||||
hostNetNS ns.NetNS
|
||||
containerNetNS ns.NetNS
|
||||
ifaceCounter int = 0
|
||||
hostVeth netlink.Link
|
||||
containerVeth netlink.Link
|
||||
hostVeth ip.Link
|
||||
containerVeth ip.Link
|
||||
hostVethName string
|
||||
containerVethName string
|
||||
|
||||
|
Reference in New Issue
Block a user