ceph-csi/internal
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
..
cephfs cephfs: added support for snapshot-backed volumes 2022-06-16 09:44:27 +00:00
controller cleanup: ReconcilePersistentVolume consider passing it by pointer 2022-06-28 19:12:53 +00:00
csi-addons ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
csi-common ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
journal cephfs: added support for snapshot-backed volumes 2022-06-16 09:44:27 +00:00
kms rbd: create token and use it for vault SA 2022-06-17 11:37:59 +00:00
liveness cleanup: move log functions to new internal/util/log package 2021-08-26 09:34:05 +00:00
nfs ci: fix all linter errors found in golangci-lint 2022-06-03 12:55:54 +00:00
rbd cleanup: reduce struct padding 2022-06-28 19:12:53 +00:00
util rbd: provide option to disable setting metadata on rbd images 2022-06-28 19:12:53 +00:00