From b9618175193b5dddb38ed3814874c2f20ef752bd Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Tue, 9 Nov 2021 20:40:35 +0100 Subject: [PATCH] fix proxy default config --- proxy/pkg/proxy/proxy_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/pkg/proxy/proxy_test.go b/proxy/pkg/proxy/proxy_test.go index 256a559dc..c0b584d6d 100644 --- a/proxy/pkg/proxy/proxy_test.go +++ b/proxy/pkg/proxy/proxy_test.go @@ -32,7 +32,7 @@ func TestPrefixRouteMatcher(t *testing.T) { } func TestQueryRouteMatcher(t *testing.T) { - cfg := config.New() + cfg := config.DefaultConfig() p := NewMultiHostReverseProxy(Config(cfg)) table := []matchertest{ @@ -59,7 +59,7 @@ func TestQueryRouteMatcher(t *testing.T) { } func TestRegexRouteMatcher(t *testing.T) { - cfg := config.New() + cfg := config.DefaultConfig() p := NewMultiHostReverseProxy(Config(cfg)) table := []matchertest{