mirror of https://github.com/ceph/go-ceph
rbd: naming conventions: fixes in Unlock 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
70db71e0b6
commit
8848df53e1
|
@ -681,10 +681,10 @@ func (image *Image) Unlock(cookie string) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
c_cookie := C.CString(cookie)
|
cCookie := C.CString(cookie)
|
||||||
defer C.free(unsafe.Pointer(c_cookie))
|
defer C.free(unsafe.Pointer(cCookie))
|
||||||
|
|
||||||
return getError(C.rbd_unlock(image.image, c_cookie))
|
return getError(C.rbd_unlock(image.image, cCookie))
|
||||||
}
|
}
|
||||||
|
|
||||||
// BreakLock forces the release of a lock held by another client.
|
// BreakLock forces the release of a lock held by another client.
|
||||||
|
|
Loading…
Reference in New Issue