From 6fb5e093942ac95591050621209a659ef9552eb9 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 14 Jan 2015 17:36:56 -0800 Subject: [PATCH] rbd: fix test Signed-off-by: Noah Watkins --- rbd/rbd_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }