From: Dan Williams Date: Wed, 5 Jul 2017 21:26:19 +0000 (-0500) Subject: ptp: fix testcase for Interface int-pointer changes X-Git-Url: https://git.halfball.org/?a=commitdiff_plain;h=0b9dbef18550ac9991b2afc992ed91626ea2981d;p=plugins.git ptp: fix testcase for Interface int-pointer changes --- diff --git a/plugins/main/ptp/ptp_test.go b/plugins/main/ptp/ptp_test.go index 6132cd9..ac77d63 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