Fix lint errors

This commit is contained in:
Manuel de Brito Fontes 2016-11-10 22:45:20 -03:00
parent cf5118cf2b
commit 827fcf10dd
8 changed files with 246 additions and 14 deletions

View file

@ -226,8 +226,8 @@ type GCETranslator struct {
*LoadBalancerController
}
// toUrlMap converts an ingress to a map of subdomain: url-regex: gce backend.
func (t *GCETranslator) toUrlMap(ing *extensions.Ingress) (utils.GCEURLMap, error) {
// toURLMap converts an ingress to a map of subdomain: url-regex: gce backend.
func (t *GCETranslator) toURLMap(ing *extensions.Ingress) (utils.GCEURLMap, error) {
hostPathBackend := utils.GCEURLMap{}
for _, rule := range ing.Spec.Rules {
if rule.HTTP == nil {