fix a typo in pkg/cloudprovider/providers/azure/azure_loadbalancer.go

This commit is contained in:
Qiao Anran 2018-02-01 16:28:36 +08:00
parent f2086ad283
commit 928716dfa8
No known key found for this signature in database
GPG Key ID: 643B08C314B5C16A

View File

@ -172,7 +172,7 @@ func (az *Cloud) EnsureLoadBalancerDeleted(clusterName string, service *v1.Servi
// getServiceLoadBalancer gets the loadbalancer for the service if it already exists.
// If wantLb is TRUE then -it selects a new load balancer.
// In case the selected load balancer does not exists it returns network.LoadBalancer struct
// In case the selected load balancer does not exist it returns network.LoadBalancer struct
// with added metadata (such as name, location) and existsLB set to FALSE.
// By default - cluster default LB is returned.
func (az *Cloud) getServiceLoadBalancer(service *v1.Service, clusterName string, nodes []*v1.Node, wantLb bool) (lb *network.LoadBalancer, status *v1.LoadBalancerStatus, exists bool, err error) {