surface other err as well
This commit is contained in:
parent
334cc366be
commit
f36203aec8
1 changed files with 2 additions and 1 deletions
|
@ -324,7 +324,8 @@ func (lbc *LoadBalancerController) sync(key string) (err error) {
|
||||||
// Update the UrlMap of the single loadbalancer that came through the watch.
|
// Update the UrlMap of the single loadbalancer that came through the watch.
|
||||||
l7, err := lbc.CloudClusterManager.l7Pool.Get(key)
|
l7, err := lbc.CloudClusterManager.l7Pool.Get(key)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("%v, unable to get loadbalancer: %v", syncError, err)
|
syncError = fmt.Errorf("%v, unable to get loadbalancer: %v", syncError, err)
|
||||||
|
return syncError
|
||||||
}
|
}
|
||||||
|
|
||||||
ing := *obj.(*extensions.Ingress)
|
ing := *obj.(*extensions.Ingress)
|
||||||
|
|
Loading…
Reference in a new issue