mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 14:20:19 +00:00
d376271376
This commit resolves the govet issue - `copylocks: call of append copies lock value ... contains sync.Mutex` Embedding DoNotCopy in a struct is a convention to signal and prevent shallow copies, as recommended in Go's best practices. This does not rely on a language feature but is instead a special case within the vet checker. For more details, see https://golang.org/issues/8005 Signed-off-by: Praveen M <m.praveen@ibm.com> |
||
---|---|---|
.. | ||
core | ||
errors | ||
mounter | ||
store | ||
util | ||
controllerserver.go | ||
driver_test.go | ||
driver.go | ||
fuserecovery.go | ||
groupcontrollerserver_test.go | ||
groupcontrollerserver.go | ||
identityserver.go | ||
nodeserver_test.go | ||
nodeserver.go | ||
validator.go |