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
@@ -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)
}
