proxy: fmt code

This commit is contained in:
Caleb Doxsey 2020-04-17 09:54:34 -06:00 committed by Caleb Doxsey
parent 5be8265e62
commit 2130a58dfb

View file

@ -365,14 +365,14 @@ func TestPolicyPrefixRouting(t *testing.T) {
opts := testOptions(t) opts := testOptions(t)
opts.Policies = []config.Policy{ opts.Policies = []config.Policy{
{ {
From: "https://from.example.com", From: "https://from.example.com",
To: "http://" + adminServer.Listener.Addr().String(), To: "http://" + adminServer.Listener.Addr().String(),
Prefix: "/admin", Prefix: "/admin",
AllowPublicUnauthenticatedAccess: true, AllowPublicUnauthenticatedAccess: true,
}, },
{ {
From: "https://from.example.com", From: "https://from.example.com",
To: "http://" + publicServer.Listener.Addr().String(), To: "http://" + publicServer.Listener.Addr().String(),
AllowPublicUnauthenticatedAccess: true, AllowPublicUnauthenticatedAccess: true,
}, },
} }