ceph-csi/internal/rbd
Niels de Vos c89c68e9ea rbd: use 'rv' as name of the rbdVolume (golint)
golint has a pretty struct stylechek, it down not allow different
variable names for methods on an object:

    pkg/rbd/rbd_util.go:970:1: receiver name rbdVol should be consistent with previous receiver name rv for rbdVolume (golint)
    func (rbdVol *rbdVolume) ensureEncryptionMetadataSet(ctx context.Context) error {
    ^
    pkg/rbd/rbd_journal.go:166:26: ST1016: methods on the same type should have the same receiver name (seen 2x "rbdVol", 3x "rv") (stylecheck)
    func (rbdVol *rbdVolume) Exists(ctx context.Context) (bool, error) {
                             ^

Rename the 'rbdVol' variable to 'rv' to make it consistent.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-05-04 13:21:03 +00:00
..
controllerserver.go rbd/go-ceph: add GetMetadata() and GetMetadata() functions 2020-05-04 13:21:03 +00:00
driver.go journal: move voljournal.go to a new package 2020-04-24 07:36:38 +00:00
errors.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
identityserver.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
nodeserver_test.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
nodeserver.go rbd/go-ceph: add GetMetadata() and GetMetadata() functions 2020-05-04 13:21:03 +00:00
rbd_attach.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
rbd_journal.go rbd: use 'rv' as name of the rbdVolume (golint) 2020-05-04 13:21:03 +00:00
rbd_util_test.go cleanup: move pkg/ to internal/ 2020-04-23 11:00:59 +00:00
rbd_util.go rbd/go-ceph: add GetMetadata() and GetMetadata() functions 2020-05-04 13:21:03 +00:00