reverseproxy: Don't clear name in SRV upstreams

Fix for dc4d147388
This commit is contained in:
Matthew Holt 2022-03-21 08:33:24 -06:00
parent c2327161f7
commit 2196c92c0e
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5

View file

@ -186,7 +186,6 @@ func (su SRVUpstreams) expandedAddr(r *http.Request) (addr, service, proto, name
name = repl.ReplaceAll(su.Name, "")
if su.Service == "" && su.Proto == "" {
addr = name
name = ""
return
}
service = repl.ReplaceAll(su.Service, "")