diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-04-07 08:33:45 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-04-07 08:33:45 -0600 |
commit | 8b2dbc52ec6bc0359b4b8c47a3f9835e9460649e (patch) | |
tree | eb63256aa8efc1451cfea9ef3d6e4190395a5576 /modules/caddyhttp/reverseproxy/hosts.go | |
parent | 657f0cab17c1597f4f78f15d0b720aa6f9d7fbcb (diff) |
core: Rename ParsedAddress -> NetworkAddress
Diffstat (limited to 'modules/caddyhttp/reverseproxy/hosts.go')
-rw-r--r-- | modules/caddyhttp/reverseproxy/hosts.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/reverseproxy/hosts.go b/modules/caddyhttp/reverseproxy/hosts.go index 87139c3..23759d1 100644 --- a/modules/caddyhttp/reverseproxy/hosts.go +++ b/modules/caddyhttp/reverseproxy/hosts.go @@ -138,7 +138,7 @@ func (u *Upstream) Full() bool { // field is used. Note that the returned value is not a pointer. func (u *Upstream) fillDialInfo(r *http.Request) (DialInfo, error) { repl := r.Context().Value(caddy.ReplacerCtxKey).(*caddy.Replacer) - var addr caddy.ParsedAddress + var addr caddy.NetworkAddress if u.LookupSRV != "" { // perform DNS lookup for SRV records and choose one |