@@ -165,7 +165,7 @@ var _ = Describe("bandwidth test", func() {
165
165
StdinData : []byte (conf ),
166
166
}
167
167
168
- Expect (hostNs .Do (func (netNS ns.NetNS ) error {
168
+ Expect (hostNs .Do (func (_ ns.NetNS ) error {
169
169
defer GinkgoRecover ()
170
170
r , out , err := testutils .CmdAdd (containerNs .Path (), args .ContainerID , "" , []byte (conf ), func () error { return cmdAdd (args ) })
171
171
Expect (err ).NotTo (HaveOccurred (), string (out ))
@@ -202,7 +202,7 @@ var _ = Describe("bandwidth test", func() {
202
202
return nil
203
203
})).To (Succeed ())
204
204
205
- Expect (hostNs .Do (func (n ns.NetNS ) error {
205
+ Expect (hostNs .Do (func (_ ns.NetNS ) error {
206
206
defer GinkgoRecover ()
207
207
208
208
ifbLink , err := netlink .LinkByName (hostIfname )
@@ -260,7 +260,7 @@ var _ = Describe("bandwidth test", func() {
260
260
StdinData : []byte (conf ),
261
261
}
262
262
263
- Expect (hostNs .Do (func (netNS ns.NetNS ) error {
263
+ Expect (hostNs .Do (func (_ ns.NetNS ) error {
264
264
defer GinkgoRecover ()
265
265
266
266
_ , out , err := testutils .CmdAdd (containerNs .Path (), args .ContainerID , ifbDeviceName , []byte (conf ), func () error { return cmdAdd (args ) })
@@ -271,7 +271,7 @@ var _ = Describe("bandwidth test", func() {
271
271
return nil
272
272
})).To (Succeed ())
273
273
274
- Expect (hostNs .Do (func (n ns.NetNS ) error {
274
+ Expect (hostNs .Do (func (_ ns.NetNS ) error {
275
275
defer GinkgoRecover ()
276
276
277
277
containerIfLink , err := netlink .LinkByName (hostIfname )
@@ -327,7 +327,7 @@ var _ = Describe("bandwidth test", func() {
327
327
StdinData : []byte (conf ),
328
328
}
329
329
330
- Expect (hostNs .Do (func (netNS ns.NetNS ) error {
330
+ Expect (hostNs .Do (func (_ ns.NetNS ) error {
331
331
defer GinkgoRecover ()
332
332
333
333
_ , out , err := testutils .CmdAdd (containerNs .Path (), args .ContainerID , ifbDeviceName , []byte (conf ), func () error { return cmdAdd (args ) })
@@ -338,7 +338,7 @@ var _ = Describe("bandwidth test", func() {
338
338
return nil
339
339
})).To (Succeed ())
340
340
341
- Expect (hostNs .Do (func (n ns.NetNS ) error {
341
+ Expect (hostNs .Do (func (_ ns.NetNS ) error {
342
342
defer GinkgoRecover ()
343
343
344
344
containerIfLink , err := netlink .LinkByName (hostIfname )
@@ -396,7 +396,7 @@ var _ = Describe("bandwidth test", func() {
396
396
StdinData : []byte (conf ),
397
397
}
398
398
399
- Expect (hostNs .Do (func (netNS ns.NetNS ) error {
399
+ Expect (hostNs .Do (func (_ ns.NetNS ) error {
400
400
defer GinkgoRecover ()
401
401
402
402
_ , _ , err := testutils .CmdAdd (containerNs .Path (), args .ContainerID , "" , []byte (conf ), func () error { return cmdAdd (args ) })
@@ -448,7 +448,7 @@ var _ = Describe("bandwidth test", func() {
448
448
StdinData : []byte (conf ),
449
449
}
450
450
451
- Expect (hostNs .Do (func (netNS ns.NetNS ) error {
451
+ Expect (hostNs .Do (func (_ ns.NetNS ) error {
452
452
defer GinkgoRecover ()
453
453
r , out , err := testutils .CmdAdd (containerNs .Path (), args .ContainerID , "" , []byte (conf ), func () error { return cmdAdd (args ) })
454
454
Expect (err ).NotTo (HaveOccurred (), string (out ))
@@ -485,7 +485,7 @@ var _ = Describe("bandwidth test", func() {
485
485
return nil
486
486
})).To (Succeed ())
487
487
488
- Expect (hostNs .Do (func (n ns.NetNS ) error {
488
+ Expect (hostNs .Do (func (_ ns.NetNS ) error {
489
489
defer GinkgoRecover ()
490
490
491
491
ifbLink , err := netlink .LinkByName (hostIfname )
@@ -551,7 +551,7 @@ var _ = Describe("bandwidth test", func() {
551
551
StdinData : []byte (conf ),
552
552
}
553
553
554
- Expect (hostNs .Do (func (netNS ns.NetNS ) error {
554
+ Expect (hostNs .Do (func (_ ns.NetNS ) error {
555
555
defer GinkgoRecover ()
556
556
557
557
_ , _ , err := testutils .CmdAdd (containerNs .Path (), args .ContainerID , "" , []byte (conf ), func () error { return cmdAdd (args ) })
@@ -601,7 +601,7 @@ var _ = Describe("bandwidth test", func() {
601
601
StdinData : []byte (conf ),
602
602
}
603
603
604
- Expect (hostNs .Do (func (netNS ns.NetNS ) error {
604
+ Expect (hostNs .Do (func (_ ns.NetNS ) error {
605
605
defer GinkgoRecover ()
606
606
_ , out , err := testutils .CmdAdd (containerNs .Path (), args .ContainerID , "" , []byte (conf ), func () error { return cmdAdd (args ) })
607
607
Expect (err ).NotTo (HaveOccurred (), string (out ))
@@ -669,7 +669,7 @@ var _ = Describe("bandwidth test", func() {
669
669
StdinData : []byte (conf ),
670
670
}
671
671
672
- Expect (hostNs .Do (func (netNS ns.NetNS ) error {
672
+ Expect (hostNs .Do (func (_ ns.NetNS ) error {
673
673
defer GinkgoRecover ()
674
674
r , out , err := testutils .CmdAdd (containerNs .Path (), args .ContainerID , "" , []byte (conf ), func () error { return cmdAdd (args ) })
675
675
Expect (err ).NotTo (HaveOccurred (), string (out ))
@@ -706,7 +706,7 @@ var _ = Describe("bandwidth test", func() {
706
706
return nil
707
707
})).To (Succeed ())
708
708
709
- Expect (hostNs .Do (func (n ns.NetNS ) error {
709
+ Expect (hostNs .Do (func (_ ns.NetNS ) error {
710
710
defer GinkgoRecover ()
711
711
712
712
ifbLink , err := netlink .LinkByName (hostIfname )
@@ -768,7 +768,7 @@ var _ = Describe("bandwidth test", func() {
768
768
StdinData : []byte (conf ),
769
769
}
770
770
771
- Expect (hostNs .Do (func (netNS ns.NetNS ) error {
771
+ Expect (hostNs .Do (func (_ ns.NetNS ) error {
772
772
defer GinkgoRecover ()
773
773
774
774
_ , _ , err := testutils .CmdAdd (containerNs .Path (), args .ContainerID , "" , []byte (conf ), func () error { return cmdAdd (args ) })
@@ -801,7 +801,7 @@ var _ = Describe("bandwidth test", func() {
801
801
StdinData : []byte (conf ),
802
802
}
803
803
804
- Expect (hostNs .Do (func (netNS ns.NetNS ) error {
804
+ Expect (hostNs .Do (func (_ ns.NetNS ) error {
805
805
defer GinkgoRecover ()
806
806
807
807
_ , _ , err := testutils .CmdAdd (containerNs .Path (), args .ContainerID , "" , []byte (conf ), func () error { return cmdAdd (args ) })
@@ -853,7 +853,7 @@ var _ = Describe("bandwidth test", func() {
853
853
StdinData : []byte (conf ),
854
854
}
855
855
856
- Expect (hostNs .Do (func (netNS ns.NetNS ) error {
856
+ Expect (hostNs .Do (func (_ ns.NetNS ) error {
857
857
defer GinkgoRecover ()
858
858
859
859
_ , _ , err := testutils .CmdAdd (containerNs .Path (), args .ContainerID , "" , []byte (conf ), func () error { return cmdAdd (args ) })
0 commit comments