20930: Fix passing arvados.Client (with a sync.Mutex) by value.
authorTom Clegg <tom@curii.com>
Fri, 8 Sep 2023 20:06:57 +0000 (16:06 -0400)
committerTom Clegg <tom@curii.com>
Fri, 8 Sep 2023 20:46:45 +0000 (16:46 -0400)
commit8aeb3c81d60d665a1ab83684c1615b003c1ebbca
tree8a5bc15df12a9c7871d7741db057d77cfaf7cc05
parent53592764d7a3299857adb6db6cad2eba29788428
20930: Fix passing arvados.Client (with a sync.Mutex) by value.

Copying could occur while the original arvados.Client was being used
to fetch the discovery doc and had its Mutex locked.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
services/ws/permission.go
services/ws/permission_test.go
services/ws/service.go