@@ -106,7 +106,7 @@ func (s *systemtestSuite) testServiceAddDeleteService(c *C, encap string) {
106
106
}
107
107
if s .fwdMode == "routing" && encap == "vlan" {
108
108
for _ , cList := range containers {
109
- _ , err := s .CheckBgpRouteDistribution (c , cList )
109
+ err := s .CheckBgpRouteDistribution (c , cList )
110
110
c .Assert (err , IsNil )
111
111
}
112
112
}
@@ -274,7 +274,7 @@ func (s *systemtestSuite) testServiceAddDeleteProviders(c *C, encap string) {
274
274
275
275
if s .fwdMode == "routing" && encap == "vlan" {
276
276
for _ , cList := range containers {
277
- _ , err := s .CheckBgpRouteDistribution (c , cList )
277
+ err := s .CheckBgpRouteDistribution (c , cList )
278
278
c .Assert (err , IsNil )
279
279
}
280
280
}
@@ -473,7 +473,7 @@ func (s *systemtestSuite) testServiceSequenceProviderAddServiceAdd(c *C, encap s
473
473
}
474
474
if s .fwdMode == "routing" && encap == "vlan" {
475
475
for _ , cList := range containers {
476
- _ , err := s .CheckBgpRouteDistribution (c , cList )
476
+ err := s .CheckBgpRouteDistribution (c , cList )
477
477
c .Assert (err , IsNil )
478
478
}
479
479
}
@@ -645,7 +645,7 @@ func (s systemtestSuite) testServiceTriggerNetmasterSwitchover(c *C, encap strin
645
645
}
646
646
if s .fwdMode == "routing" && encap == "vlan" {
647
647
for _ , cList := range containers {
648
- _ , err := s .CheckBgpRouteDistribution (c , cList )
648
+ err := s .CheckBgpRouteDistribution (c , cList )
649
649
c .Assert (err , IsNil )
650
650
}
651
651
}
@@ -860,7 +860,7 @@ func (s systemtestSuite) testServiceTriggerNetpluginRestart(c *C, encap string)
860
860
}
861
861
if s .fwdMode == "routing" && encap == "vlan" {
862
862
for _ , cList := range containers {
863
- _ , err := s .CheckBgpRouteDistribution (c , cList )
863
+ err := s .CheckBgpRouteDistribution (c , cList )
864
864
c .Assert (err , IsNil )
865
865
}
866
866
}
@@ -907,7 +907,7 @@ func (s systemtestSuite) testServiceTriggerNetpluginRestart(c *C, encap string)
907
907
if s .fwdMode == "routing" && encap == "vlan" {
908
908
s .CheckBgpConnection (c )
909
909
for _ , cList := range containers {
910
- _ , err := s .CheckBgpRouteDistribution (c , cList )
910
+ err := s .CheckBgpRouteDistribution (c , cList )
911
911
c .Assert (err , IsNil )
912
912
}
913
913
} else {
@@ -1019,7 +1019,7 @@ func (s *systemtestSuite) addProviders(c *C, labels []string, numProviders int,
1019
1019
containers , err = s .runContainers (numProviders , false , netName , tenant , names , labels )
1020
1020
c .Assert (err , IsNil )
1021
1021
if s .fwdMode == "routing" && encap == "vlan" {
1022
- _ , err = s .CheckBgpRouteDistribution (c , containers )
1022
+ err = s .CheckBgpRouteDistribution (c , containers )
1023
1023
c .Assert (err , IsNil )
1024
1024
}
1025
1025
return containers
0 commit comments