mirror of
https://github.com/rancher/plugins.git
synced 2025-09-16 19:30:01 +00:00
Merge pull request #39 from dcbw/ptp-fix-test
ptp: fix testcase for Interface int-pointer changes
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user