]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rbd: rbd_mirror was extracting the incorrect image id 8158/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 16 Mar 2016 13:55:06 +0000 (09:55 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 16 Mar 2016 14:01:38 +0000 (10:01 -0400)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
qa/workunits/rbd/rbd_mirror.sh

index 797b60c43145cdbf27b4c85be254fe08ee969b00..b84fd241b6ccc400993b1246811764ce2bab865b 100755 (executable)
@@ -290,7 +290,7 @@ image_id()
     local cluster=$1
     local image=$2
 
-    rbd --cluster ${cluster} -p ${POOL} info --image test |
+    rbd --cluster ${cluster} -p ${POOL} info --image ${image} |
        sed -ne 's/^.*block_name_prefix: rbd_data\.//p'
 }