mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-27 16:07:19 +02:00
core/ci: update linting (#4844)
* core/ci: update linting * re-add exportloopref * re-add gocheckcompilerdirectives * re-add stylecheck * re-add usestdlibvars * upgrade lint --------- Co-authored-by: Denis Mishin <dmishin@pomerium.com>
This commit is contained in:
parent
b66634d1e6
commit
a2fd95aae6
30 changed files with 132 additions and 214 deletions
|
@ -649,8 +649,10 @@ func TestPolicyEvaluatorReuse(t *testing.T) {
|
|||
// Make changes to some of the policies.
|
||||
newPolicies := []config.Policy{
|
||||
{To: singleToURL("https://to1.example.com")},
|
||||
{To: singleToURL("https://to2.example.com"),
|
||||
AllowedUsers: []string{"user-id-1"}}, // change just the policy itself
|
||||
{
|
||||
To: singleToURL("https://to2.example.com"),
|
||||
AllowedUsers: []string{"user-id-1"},
|
||||
}, // change just the policy itself
|
||||
{To: singleToURL("https://to3.example.com")},
|
||||
{To: singleToURL("https://foo.example.com"), // change route ID too
|
||||
AllowAnyAuthenticatedUser: true},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue