mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +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> |
||
---|---|---|
.. | ||
cephfs | ||
controller | ||
csi-addons | ||
csi-common | ||
health-checker | ||
journal | ||
kms | ||
liveness | ||
nfs | ||
rbd | ||
rbd_types | ||
util |