Fix lint errors
This commit is contained in:
parent
cf5118cf2b
commit
827fcf10dd
8 changed files with 246 additions and 14 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue