]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rbd: fixed variable name for resync image id 19802/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 3 Oct 2017 17:25:33 +0000 (13:25 -0400)
committerNathan Cutler <ncutler@suse.com>
Fri, 5 Jan 2018 13:48:03 +0000 (14:48 +0100)
Fixes: http://tracker.ceph.com/issues/21663
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 22816ed3f48b0a08a6d4e0cf0b0e14dabbb9ce69)

qa/workunits/rbd/rbd_mirror_helpers.sh

index 325353b91bc7e87b4520e45ce33d6a3da1ce53d2..4891612dfc0fd4184d3f8390de940e12a5bb659e 100755 (executable)
@@ -869,7 +869,7 @@ request_resync_image()
     local cluster=$1
     local pool=$2
     local image=$3
-    local image_id_var_name=$1
+    local image_id_var_name=$4
 
     eval "${image_id_var_name}='$(get_image_id ${cluster} ${pool} ${image})'"
     eval 'test -n "$'${image_id_var_name}'"'