mirror of
https://github.com/ceph/go-ceph
synced 2025-01-16 02:54:02 +00:00
rados: naming conventions: c_user -> cUser
Fix up variable names that don't meet Go standards. Command: gofmt -w -r "c_user -> cUser" rados/rados.go Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
801a9cc498
commit
7f77d82bab
@ -85,9 +85,9 @@ func NewConn() (*Conn, error) {
|
||||
// NewConnWithUser creates a new connection object with a custom username.
|
||||
// It returns the connection and an error, if any.
|
||||
func NewConnWithUser(user string) (*Conn, error) {
|
||||
c_user := C.CString(user)
|
||||
defer C.free(unsafe.Pointer(c_user))
|
||||
return newConn(c_user)
|
||||
cUser := C.CString(user)
|
||||
defer C.free(unsafe.Pointer(cUser))
|
||||
return newConn(cUser)
|
||||
}
|
||||
|
||||
// NewConnWithClusterAndUser creates a new connection object for a specific cluster and username.
|
||||
|
Loading…
Reference in New Issue
Block a user