From 9a13b816be5793514fbdd88a7bf5166a39f7fd69 Mon Sep 17 00:00:00 2001 From: ben-toogood Date: Wed, 1 Jul 2020 12:23:55 +0100 Subject: [PATCH] api/router/registry: use resolved domain (#1774) --- registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registry.go b/registry.go index 6fd92c1..160a2c7 100644 --- a/registry.go +++ b/registry.go @@ -434,7 +434,7 @@ func (r *registryRouter) Route(req *http.Request) (*api.Service, error) { name := rp.Name // get service - services, err := r.rc.GetService(name) + services, err := r.rc.GetService(name, registry.GetDomain(rp.Domain)) if err != nil { return nil, err }