core: Rename ParsedAddress -> NetworkAddress

This commit is contained in:
Matthew Holt
2020-04-07 08:33:45 -06:00
parent 657f0cab17
commit 8b2dbc52ec
6 changed files with 42 additions and 42 deletions

View File

@ -370,12 +370,12 @@ func (s HeaderHashSelection) Select(pool UpstreamPool, req *http.Request) *Upstr
}
// UnmarshalCaddyfile sets up the module from Caddyfile tokens.
func (r *HeaderHashSelection) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {
func (s *HeaderHashSelection) UnmarshalCaddyfile(d *caddyfile.Dispenser) error {
for d.Next() {
if !d.NextArg() {
return d.ArgErr()
}
r.Field = d.Val()
s.Field = d.Val()
}
return nil
}