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
1 changed files with 0 additions and 1 deletions

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, "")