internal/gojsonschema: Fix race condition in SetAllowNet (#5188)
Note: the test is kind of weird-looking but it's just designed to fail when run with -race if concurrent writes aren't protected. Fixes #5187. Signed-off-by: Liam Galvin <liam.galvin@aquasec.com>
L
Liam Galvin committed
00e835a7cc155f78bc98d7c417cf5b4ecbefa199
Parent: ab385e9
Committed by GitHub <noreply@github.com>
on 9/27/2022, 10:53:54 AM