rbd: fix test

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
This commit is contained in:
Noah Watkins 2015-01-14 17:36:56 -08:00
parent 9a1b29d02e
commit 6fb5e09394

View File

@ -36,7 +36,7 @@ func TestGetImageNames(t *testing.T) {
createdList := []string{}
for i := 0; i < 10; i++ {
name := GetUUID()
err = rbd.Create(ioctx, name, 1<<22)
_, err := rbd.Create(ioctx, name, 1<<22)
assert.NoError(t, err)
createdList = append(createdList, name)
}