ceph-csi/internal
Praveen M d376271376 cleanup: append pointer instead of value to avoid copying lock value
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>
2024-07-10 12:18:50 +00:00
..
cephfs cleanup: append pointer instead of value to avoid copying lock value 2024-07-10 12:18:50 +00:00
controller rebase: changes as per new controller runtime import 2024-05-24 09:27:53 +00:00
csi-addons cleanup: pass context to rbdImage.Destroy() 2024-07-08 09:23:58 +00:00
csi-common util: DefaultIdentityServer should use csi.UnimplementedIdentityServer 2024-07-10 12:18:50 +00:00
health-checker build: address 'intrange' linter warning 2024-04-29 14:36:48 +00:00
journal journal: remove unused parameter journalPoolID from ReserveName() 2024-07-08 09:23:58 +00:00
kms build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
liveness build: passing context parameter as required 2024-06-28 08:38:54 +00:00
nfs build: address 'copyloopvar' linter warning 2024-04-29 14:36:48 +00:00
rbd rbd: add Volume interface 2024-07-08 09:23:58 +00:00
rbd_types rbd: add Volume interface 2024-07-08 09:23:58 +00:00
util cleanup: append pointer instead of value to avoid copying lock value 2024-07-10 12:18:50 +00:00