From d7d16360d41159a3bea772c36e795bab31503897 Mon Sep 17 00:00:00 2001 From: Omar Ramadan Date: Tue, 25 Jul 2023 21:50:21 +0300 Subject: reverseproxy: Export ipVersions type (#5648) allows AUpstreams to be instantiated externally --- modules/caddyhttp/reverseproxy/caddyfile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/caddyhttp/reverseproxy/caddyfile.go') 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 -- cgit v1.2.3