mirror of
https://github.com/ceph/go-ceph
synced 2024-12-27 00:32:08 +00:00
rbd: naming conventions: fixes in test function TestOpenImage
Fix up variable names that don't meet Go standards. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
ee3c7f3a80
commit
e5a1f842e5
@ -1422,8 +1422,8 @@ func TestOpenImage(t *testing.T) {
|
||||
oImage, err = OpenImageReadOnly(ioctx, name, NoSnapshot)
|
||||
assert.NoError(t, err)
|
||||
|
||||
bytes_in := []byte("input data")
|
||||
_, err = oImage.Write(bytes_in)
|
||||
bytesIn := []byte("input data")
|
||||
_, err = oImage.Write(bytesIn)
|
||||
// writing should fail in read-only mode
|
||||
assert.Error(t, err)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user