diff --git a/rbd/rbd_test.go b/rbd/rbd_test.go index 0907975..bf4667d 100644 --- a/rbd/rbd_test.go +++ b/rbd/rbd_test.go @@ -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) }