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 @@ -326,7 +326,7 @@ func TestCNSIPAMInvoker_Add_Overlay(t *testing.T) {
326326 Gateway : net .ParseIP ("10.0.0.1" ),
327327 },
328328 },
329- Routes : ( []network.RouteInfo ) (nil ),
329+ Routes : []network.RouteInfo (nil ),
330330 NICType : cns .InfraNIC ,
331331 SkipDefaultRoutes : true ,
332332 HostSubnetPrefix : * parseCIDR ("10.0.0.0/24" ),
@@ -1716,7 +1716,7 @@ func TestCNSIPAMInvoker_Add_SwiftV2(t *testing.T) {
17161716 Gateway : net .ParseIP ("10.0.0.1" ),
17171717 },
17181718 },
1719- Routes : ( []network.RouteInfo ) (nil ),
1719+ Routes : []network.RouteInfo (nil ),
17201720 NICType : cns .InfraNIC ,
17211721 SkipDefaultRoutes : true ,
17221722 HostSubnetPrefix : * parseCIDR ("10.0.0.0/24" ),
@@ -1739,7 +1739,7 @@ func TestCNSIPAMInvoker_Add_SwiftV2(t *testing.T) {
17391739 NICType : cns .BackendNIC ,
17401740 MacAddress : ibParsedMacAddress ,
17411741 PnPID : pnpID ,
1742- Routes : ( []network.RouteInfo ) (nil ),
1742+ Routes : []network.RouteInfo (nil ),
17431743 },
17441744 },
17451745 wantErr : false ,
You can’t perform that action at this time.
0 commit comments