ceph-csi/internal/rbd
Prasanna Kumar Kalever 9fa3c8382b cleanup: reduce struct padding
internal/rbd/rbd_util.go:89:15: struct of size 312 bytes could be of
size 304 bytes:
``
struct{
	RbdImageName   	string,
	ImageID        	string,
	VolID          	string,
	Monitors       	string,
	JournalPool    	string,
	Pool           	string,
	RadosNamespace 	string,
	ClusterID      	string,
	RequestName    	string,
	NamePrefix     	string,
	ParentName     	string,
	ParentPool     	string,
	ClusterName    	string,
	Owner          	string,
	VolSize        	int64,
	StripeCount    	uint64,
	StripeUnit     	uint64,
	ObjectSize     	uint64,
	ImageFeatureSet	github.com/ceph/go-ceph/rbd.FeatureSet,
	encryption
*github.com/ceph/ceph-csi/internal/util.VolumeEncryption,
	CreatedAt
*google.golang.org/protobuf/types/known/timestamppb.Timestamp,
	conn
*github.com/ceph/ceph-csi/internal/util.ClusterConnection,
	ioctx          	*github.com/ceph/go-ceph/rados.IOContext,
	Primary        	bool,
	EnableMetadata 	bool,
}
`` (maligned)
type rbdImage struct {
              ^}`
make: *** [Makefile:118: go-lint] Error 1

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
2022-06-28 19:12:53 +00:00
..
driver rbd: provide option to disable setting metadata on rbd images 2022-06-28 19:12:53 +00:00
clone.go rbd: unset parent PVC metadata on CreateVolume From Volume 2022-05-12 15:54:09 +00:00
controllerserver_test.go rbd: add support for rbd striping 2022-06-09 18:59:00 +00:00
controllerserver.go rbd: provide option to disable setting metadata on rbd images 2022-06-28 19:12:53 +00:00
diskusage.go rbd: implement CSI-Addons ControllerReclaimSpace 2021-12-23 17:43:23 +00:00
encryption.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
errors.go rbd: check local image state during promote operation 2021-12-01 20:19:05 +00:00
globals.go rbd: add functions for initializing global variables 2021-12-10 07:35:26 +00:00
identityserver.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
migration_test.go rbd: change iteration variable name in the migration test to be specific 2021-10-11 10:06:30 +00:00
migration.go rbd: remove redundant util.Credentials arg from flattenRbdImage() 2022-01-06 12:28:18 +00:00
mirror.go cleanup: correct typos in test description and source code 2022-04-18 10:29:08 +00:00
nodeserver_test.go cleanup: generalize the parseBool function 2021-11-01 08:17:36 +00:00
nodeserver.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
rbd_attach_test.go rbd: fix parsing mapOptions 2022-03-14 15:21:25 +00:00
rbd_attach.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
rbd_healer.go rbd: healer detect Kubernetes version for right StagingTargetPath 2022-06-24 12:23:29 +00:00
rbd_journal.go rbd: provide option to disable setting metadata on rbd images 2022-06-28 19:12:53 +00:00
rbd_util_test.go rbd: handle when krbdFeatures is zero 2022-05-15 15:10:08 +00:00
rbd_util.go cleanup: reduce struct padding 2022-06-28 19:12:53 +00:00
replicationcontrollerserver_test.go rbd: add unit test for checkHealthyPrimary 2022-06-28 13:17:11 +00:00
replicationcontrollerserver.go rbd: add unit test for checkHealthyPrimary 2022-06-28 13:17:11 +00:00
snapshot.go ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00