fix: use the right error in the log

This commit is contained in:
Jean-Baptiste Doumenjou 2020-02-12 18:28:05 +01:00 committed by GitHub
parent 4a1d20e8a3
commit 322c329c6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,7 +100,7 @@ func (p *Provider) loadIngressRouteConfiguration(ctx context.Context, client Cli
errBuild := cb.buildServicesLB(ctx, ingressRoute.Namespace, spec, serviceName, conf.Services)
if errBuild != nil {
logger.Error(err)
logger.Error(errBuild)
continue
}
} else if len(route.Services) == 1 {