Skip to content

Commit ae6753f

Browse files
committed
format codes
1 parent d669910 commit ae6753f

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

cns/middlewares/k8sSwiftV2_windows.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ func (k *K8sSWIFTv2Middleware) assignSubnetPrefixLengthFields(podIPInfo *cns.Pod
4646
},
4747
GatewayIPAddress: interfaceInfo.GatewayIP,
4848
}
49-
5049
return nil
5150
}
5251

cns/middlewares/k8sSwiftV2_windows_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@ func TestAssignSubnetPrefixSuccess(t *testing.T) {
5454
MacAddress: "12:34:56:78:9a:bc",
5555
}
5656

57-
gatewayIP := "20.240.1.1"
5857
intInfo := v1alpha1.InterfaceInfo{
59-
GatewayIP: gatewayIP,
58+
GatewayIP: "20.240.1.1",
6059
SubnetAddressSpace: "20.240.1.0/16",
6160
}
6261

0 commit comments

Comments
 (0)