mirror of https://github.com/ceph/go-ceph
rbd: naming conventions: fixes in Version function
Fix up variable names that don't meet Go standards. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
56af1b3822
commit
3a168ec717
|
@ -125,9 +125,9 @@ func (image *Image) validate(req uint32) error {
|
|||
|
||||
// Version returns the major, minor, and patch level of the librbd library.
|
||||
func Version() (int, int, int) {
|
||||
var c_major, c_minor, c_patch C.int
|
||||
C.rbd_version(&c_major, &c_minor, &c_patch)
|
||||
return int(c_major), int(c_minor), int(c_patch)
|
||||
var cMajor, cMinor, cPatch C.int
|
||||
C.rbd_version(&cMajor, &cMinor, &cPatch)
|
||||
return int(cMajor), int(cMinor), int(cPatch)
|
||||
}
|
||||
|
||||
// GetImage gets a reference to a previously created rbd image.
|
||||
|
|
Loading…
Reference in New Issue