mirror of https://github.com/ceph/go-ceph
rados: naming conventions: fix c_major, c_minor, c_patch
Fix up variable names that don't meet Go standards. Command: gofmt -w -r "c_major -> cMajor" rados/rados.go Command: gofmt -w -r "c_minor -> cMinor" rados/rados.go Command: gofmt -w -r "c_patch -> cPatch" rados/rados.go Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
4c12ff0fda
commit
801a9cc498
|
@ -55,9 +55,9 @@ const (
|
|||
// Version returns the major, minor, and patch components of the version of
|
||||
// the RADOS library linked against.
|
||||
func Version() (int, int, int) {
|
||||
var c_major, c_minor, c_patch C.int
|
||||
C.rados_version(&c_major, &c_minor, &c_patch)
|
||||
return int(c_major), int(c_minor), int(c_patch)
|
||||
var cMajor, cMinor, cPatch C.int
|
||||
C.rados_version(&cMajor, &cMinor, &cPatch)
|
||||
return int(cMajor), int(cMinor), int(cPatch)
|
||||
}
|
||||
|
||||
func makeConn() *Conn {
|
||||
|
|
Loading…
Reference in New Issue