diff options
author | Omar Ramadan <[email protected]> | 2023-07-25 21:50:21 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2023-07-25 12:50:21 -0600 |
commit | d7d16360d41159a3bea772c36e795bab31503897 (patch) | |
tree | c84f44348909ae7b0283118b74e4dfc76eb1222c /modules/caddyhttp/reverseproxy/caddyfile.go | |
parent | 4df27a20c8f1b16eaba11799a7e0e650950ef408 (diff) | |
download | caddy-d7d16360d41159a3bea772c36e795bab31503897.tar.gz caddy-d7d16360d41159a3bea772c36e795bab31503897.zip |
reverseproxy: Export ipVersions type (#5648)
allows AUpstreams to be instantiated externally
Diffstat (limited to 'modules/caddyhttp/reverseproxy/caddyfile.go')
-rw-r--r-- | modules/caddyhttp/reverseproxy/caddyfile.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/reverseproxy/caddyfile.go b/modules/caddyhttp/reverseproxy/caddyfile.go index 26dd55c93..1d86bebd7 100644 --- a/modules/caddyhttp/reverseproxy/caddyfile.go +++ b/modules/caddyhttp/reverseproxy/caddyfile.go @@ -1449,7 +1449,7 @@ func (u *AUpstreams) UnmarshalCaddyfile(d *caddyfile.Dispenser) error { } if u.Versions == nil { - u.Versions = &ipVersions{} + u.Versions = &IPVersions{} } trueBool := true |