mirror of
https://github.com/ceph/go-ceph
synced 2024-12-22 22:24:03 +00:00
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. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
25c0699926
commit
91efd1f092
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user