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:
Jay Dunkelberger
2017-03-09 13:55:15 -08:00
committed by Gabe Rosenhouse
parent 4f36e5994e
commit 58c834c4f3
3 changed files with 41 additions and 19 deletions

View File

@ -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