Return an actual server status updater

This commit is contained in:
Jean-Baptiste Doumenjou 2019-09-18 17:56:05 +02:00 committed by Traefiker Bot
parent 94699fbe00
commit 0f1911ba68

View file

@ -310,7 +310,7 @@ func (m *Manager) getLoadBalancer(ctx context.Context, serviceName string, servi
return nil, fmt.Errorf("error configuring load balancer for service %s: %v", serviceName, err) return nil, fmt.Errorf("error configuring load balancer for service %s: %v", serviceName, err)
} }
return lb, nil return lbsu, nil
} }
func (m *Manager) upsertServers(ctx context.Context, lb healthcheck.BalancerHandler, servers []dynamic.Server) error { func (m *Manager) upsertServers(ctx context.Context, lb healthcheck.BalancerHandler, servers []dynamic.Server) error {