From 0b9dbef18550ac9991b2afc992ed91626ea2981d Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 5 Jul 2017 16:26:19 -0500 Subject: [PATCH] ptp: fix testcase for Interface int-pointer changes --- plugins/main/ptp/ptp_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/main/ptp/ptp_test.go b/plugins/main/ptp/ptp_test.go index 6132cd9a..ac77d630 100644 --- a/plugins/main/ptp/ptp_test.go +++ b/plugins/main/ptp/ptp_test.go @@ -86,7 +86,7 @@ var _ = Describe("ptp Operations", func() { Expect(link.Attrs().Name).To(Equal(IFNAME)) for _, ipc := range res.IPs { - if ipc.Interface != 1 { + if *ipc.Interface != 1 { continue } seenIPs += 1