mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-20 12:37:16 +02:00
Caught by: go test -race ./internal/cmd/pomerium The ctx in Run is both read (in handle signal goroutine) and write (when passing to errgroup context in Run), causes data race. Fixing it, by passing the ctx to goroutine via argument instead of accessing it directly. |
||
---|---|---|
.. | ||
pomerium.go | ||
pomerium_test.go |