File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -343,10 +343,10 @@ func TestSetRoutesSuccess(t *testing.T) {
343343 } else {
344344 assert .Equal (t , ipInfo .SkipDefaultRoutes , false )
345345 }
346-
347346 }
347+
348348 for i := range podIPInfo {
349- reflect .DeepEqual (t , podIPInfo [i ].Routes , desiredPodIPInfo [i ].Routes )
349+ reflect .DeepEqual (podIPInfo [i ].Routes , desiredPodIPInfo [i ].Routes )
350350 }
351351}
352352
@@ -382,7 +382,7 @@ func TestAddRoutes(t *testing.T) {
382382 middleware := K8sSWIFTv2Middleware {Cli : mock .NewClient ()}
383383 cidrs := []string {"10.0.0.0/24" , "20.0.0.0/24" }
384384 gatewayIP := "192.168.1.1"
385- routes := middleware .addRoutes (cidrs , gatewayIP )
385+ routes := middleware .AddRoutes (cidrs , gatewayIP )
386386 expectedRoutes := []cns.Route {
387387 {
388388 IPAddress : "10.0.0.0/24" ,
You can’t perform that action at this time.
0 commit comments