mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-27 16:07:19 +02:00
core/lint: upgrade golangci-lint, replace interface{} with any (#5099)
* core/lint: upgrade golangci-lint, replace interface{} with any * regen proto
This commit is contained in:
parent
614048ae9c
commit
1a5b8b606f
135 changed files with 341 additions and 340 deletions
|
@ -38,7 +38,7 @@ func TestFileWatcherSource(t *testing.T) {
|
|||
src := NewFileWatcherSource(ctx, ssrc)
|
||||
var closeOnce sync.Once
|
||||
ch := make(chan struct{})
|
||||
src.OnConfigChange(context.Background(), func(ctx context.Context, cfg *Config) {
|
||||
src.OnConfigChange(context.Background(), func(_ context.Context, _ *Config) {
|
||||
closeOnce.Do(func() {
|
||||
close(ch)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue