From d564e730c98ddb21d46cd3c8d444e60983bfc84e Mon Sep 17 00:00:00 2001 From: levimm Date: Sun, 22 Dec 2019 12:10:04 +0800 Subject: [PATCH] format test file --- .../azure/azure_loadbalancer_test.go | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/staging/src/k8s.io/legacy-cloud-providers/azure/azure_loadbalancer_test.go b/staging/src/k8s.io/legacy-cloud-providers/azure/azure_loadbalancer_test.go index bd723830d54..4cc34f36904 100644 --- a/staging/src/k8s.io/legacy-cloud-providers/azure/azure_loadbalancer_test.go +++ b/staging/src/k8s.io/legacy-cloud-providers/azure/azure_loadbalancer_test.go @@ -1446,16 +1446,16 @@ func TestReconcileLoadBalancer(t *testing.T) { } testCases := []struct { - desc string - service v1.Service - loadBalancerSku string - preConfigLBType string + desc string + service v1.Service + loadBalancerSku string + preConfigLBType string loadBalancerResourceGroup string - disableOutboundSnat *bool - wantLb bool - existingLB network.LoadBalancer - expectedLB network.LoadBalancer - expectedError error + disableOutboundSnat *bool + wantLb bool + existingLB network.LoadBalancer + expectedLB network.LoadBalancer + expectedError error }{ { desc: "reconcileLoadBalancer shall return the lb deeply equal to the existingLB if there's no " + @@ -1535,14 +1535,14 @@ func TestReconcileLoadBalancer(t *testing.T) { expectedError: nil, }, { - desc: "reconcileLoadBalancer in other resource group", - loadBalancerSku: "standard", + desc: "reconcileLoadBalancer in other resource group", + loadBalancerSku: "standard", loadBalancerResourceGroup: "anotherRG", - service: service8, - existingLB: lb8, - wantLb: true, - expectedLB: expectedLB8, - expectedError: nil, + service: service8, + existingLB: lb8, + wantLb: true, + expectedLB: expectedLB8, + expectedError: nil, }, }