mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 06:10:22 +00:00
45d1404d3e
The gocyclo linter complains about the high complexity of the CreateVolume() function: > pkg/rbd/controllerserver.go:133:1: cyclomatic complexity 21 of func `(*ControllerServer).CreateVolume` is high (> 20) (gocyclo) By splitting it up and separeting the creation of an exisint CSI Volume object in buildCreateVolumeResponse(), the gocyclic linter does not complain any longer. Signed-off-by: Niels de Vos <ndevos@redhat.com> |
||
---|---|---|
.. | ||
cephfs | ||
csi-common | ||
journal | ||
liveness | ||
rbd | ||
util |