mirror of https://github.com/ceph/go-ceph
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
572de578f6
commit
25c0699926
|
@ -14,6 +14,8 @@ import (
|
||||||
|
|
||||||
var argvPlaceholder = "placeholder"
|
var argvPlaceholder = "placeholder"
|
||||||
|
|
||||||
|
//revive:disable:var-naming old-yet-exported public api
|
||||||
|
|
||||||
// ClusterStat represents Ceph cluster statistics.
|
// ClusterStat represents Ceph cluster statistics.
|
||||||
type ClusterStat struct {
|
type ClusterStat struct {
|
||||||
Kb uint64
|
Kb uint64
|
||||||
|
@ -22,6 +24,8 @@ type ClusterStat struct {
|
||||||
Num_objects uint64
|
Num_objects uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//revive:enable:var-naming
|
||||||
|
|
||||||
// Conn is a connection handle to a Ceph cluster.
|
// Conn is a connection handle to a Ceph cluster.
|
||||||
type Conn struct {
|
type Conn struct {
|
||||||
cluster C.rados_t
|
cluster C.rados_t
|
||||||
|
|
Loading…
Reference in New Issue