rados: naming conventions: disable revive naming check on old struct
This struct has public fields that violate standard naming
conventions.
Disable the check on this struct only.
@@ -45,6 +45,8 @@ const (
CreateIdempotent = C.LIBRADOS_CREATE_IDEMPOTENT
)
+//revive:disable:var-naming old-yet-exported public api
+
// PoolStat represents Ceph pool statistics.
type PoolStat struct {
// space used in bytes
@@ -69,6 +71,8 @@ type PoolStat struct {
Num_wr_kb uint64
}
+//revive:enable:var-naming
+
// ObjectStat represents an object stat information
type ObjectStat struct {
// current length in bytes
