mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-02 00:10:45 +02:00
log context (#2107)
This commit is contained in:
parent
e7995954ff
commit
e0c09a0998
87 changed files with 714 additions and 524 deletions
|
@ -37,9 +37,9 @@ func TestConfigSource(t *testing.T) {
|
|||
base.InsecureServer = true
|
||||
base.GRPCInsecure = true
|
||||
|
||||
src := NewConfigSource(config.NewStaticSource(&config.Config{
|
||||
src := NewConfigSource(ctx, config.NewStaticSource(&config.Config{
|
||||
Options: base,
|
||||
}), func(cfg *config.Config) {
|
||||
}), func(_ context.Context, cfg *config.Config) {
|
||||
cfgs <- cfg
|
||||
})
|
||||
cfgs <- src.GetConfig()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue