mirror of https://github.com/ceph/go-ceph
rados: naming conventions: c_path -> cPath
Fix up variable names that don't meet Go standards. Command: gofmt -w -r "c_path -> cPath" rados/conn.go Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
d7f73e112d
commit
5cbf7c6514
|
@ -75,9 +75,9 @@ func (c *Conn) Shutdown() {
|
|||
|
||||
// ReadConfigFile configures the connection using a Ceph configuration file.
|
||||
func (c *Conn) ReadConfigFile(path string) error {
|
||||
c_path := C.CString(path)
|
||||
defer C.free(unsafe.Pointer(c_path))
|
||||
ret := C.rados_conf_read_file(c.cluster, c_path)
|
||||
cPath := C.CString(path)
|
||||
defer C.free(unsafe.Pointer(cPath))
|
||||
ret := C.rados_conf_read_file(c.cluster, cPath)
|
||||
return getError(ret)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue