mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-19 09:38:03 +02:00
concurrently build config
This commit is contained in:
parent
e85611b7d0
commit
6dea25e0a2
5 changed files with 158 additions and 99 deletions
|
@ -65,7 +65,7 @@ func TestConfigSource(t *testing.T) {
|
|||
OutboundPort: outboundPort,
|
||||
Options: base,
|
||||
})
|
||||
src := NewConfigSource(ctx, baseSource, func(_ context.Context, cfg *config.Config) {
|
||||
src := NewConfigSource(ctx, baseSource, EnableConfigValidation(true), func(_ context.Context, cfg *config.Config) {
|
||||
cfgs <- cfg
|
||||
})
|
||||
cfgs <- src.GetConfig()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue