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.
@@ -14,6 +14,8 @@ import (
var argvPlaceholder = "placeholder"
+//revive:disable:var-naming old-yet-exported public api
+
// ClusterStat represents Ceph cluster statistics.
type ClusterStat struct {
Kb uint64
@@ -22,6 +24,8 @@ type ClusterStat struct {
Num_objects uint64
}
+//revive:enable:var-naming
+
// Conn is a connection handle to a Ceph cluster.
type Conn struct {
cluster C.rados_t
