mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-26 14:38:09 +02:00
linter pass
This commit is contained in:
parent
f1d2799a9f
commit
8049ca54d0
13 changed files with 51 additions and 50 deletions
|
@ -26,7 +26,7 @@ type PolicyTemplate struct {
|
|||
}
|
||||
|
||||
func TemplateRoutes(n int, tmpl PolicyTemplate) testenv.Modifier {
|
||||
return testenv.ModifierFunc(func(ctx context.Context, cfg *config.Config) {
|
||||
return testenv.ModifierFunc(func(_ context.Context, cfg *config.Config) {
|
||||
for i := range n {
|
||||
cfg.Options.Policies = append(cfg.Options.Policies, newPolicyFromTemplate(i, tmpl))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue