Use service UID as the ELB name

This commit is contained in:
caesarxuchao
2015-04-21 12:20:42 -07:00
parent 2a3e0796f8
commit e9c5e44767
4 changed files with 20 additions and 11 deletions

View File

@@ -419,7 +419,7 @@ func needsUpdate(oldService *api.Service, newService *api.Service) bool {
}
func (s *ServiceController) loadBalancerName(service *api.Service) string {
return cloudprovider.GetLoadBalancerName(s.clusterName, service.Namespace, service.Name)
return cloudprovider.GetLoadBalancerName(service)
}
func getTCPPorts(service *api.Service) ([]int, error) {