Fix lint errors
This commit is contained in:
parent
cf5118cf2b
commit
827fcf10dd
8 changed files with 246 additions and 14 deletions
|
|
@ -354,7 +354,7 @@ func (lbc *LoadBalancerController) sync(key string) (err error) {
|
|||
}
|
||||
|
||||
ing := *obj.(*extensions.Ingress)
|
||||
if urlMap, err := lbc.tr.toUrlMap(&ing); err != nil {
|
||||
if urlMap, err := lbc.tr.toURLMap(&ing); err != nil {
|
||||
syncError = fmt.Errorf("%v, convert to url map error %v", syncError, err)
|
||||
} else if err := l7.UpdateUrlMap(urlMap); err != nil {
|
||||
lbc.recorder.Eventf(&ing, api.EventTypeWarning, "UrlMap", err.Error())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue