From dd8a7d359d1061e49a88fe0c8e5b0bab0f12a2fc Mon Sep 17 00:00:00 2001 From: Pengfei Ni Date: Mon, 5 Mar 2018 14:13:40 +0800 Subject: [PATCH] Code cleanup: group consts togather --- pkg/cloudprovider/providers/azure/azure_loadbalancer.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/cloudprovider/providers/azure/azure_loadbalancer.go b/pkg/cloudprovider/providers/azure/azure_loadbalancer.go index becbcc9e62..0e69f28335 100644 --- a/pkg/cloudprovider/providers/azure/azure_loadbalancer.go +++ b/pkg/cloudprovider/providers/azure/azure_loadbalancer.go @@ -66,11 +66,11 @@ const ( // Azure "augmented security rules" feature which at the time of writing is in // preview and available only in certain regions. ServiceAnnotationSharedSecurityRule = "service.beta.kubernetes.io/azure-shared-securityrule" -) -// ServiceAnnotationLoadBalancerResourceGroup is the annotation used on the service -// to specify the resource group of load balancer objects that are not in the same resource group as the cluster. -const ServiceAnnotationLoadBalancerResourceGroup = "service.beta.kubernetes.io/azure-load-balancer-resource-group" + // ServiceAnnotationLoadBalancerResourceGroup is the annotation used on the service + // to specify the resource group of load balancer objects that are not in the same resource group as the cluster. + ServiceAnnotationLoadBalancerResourceGroup = "service.beta.kubernetes.io/azure-load-balancer-resource-group" +) // GetLoadBalancer returns whether the specified load balancer exists, and // if so, what its status is.