From 88c987cdb5f02ddc445389b40f9473e8fc14b8af Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Tue, 3 Oct 2017 13:25:33 -0400 Subject: [PATCH] qa/workunits/rbd: fixed variable name for resync image id Fixes: http://tracker.ceph.com/issues/21663 Signed-off-by: Jason Dillaman (cherry picked from commit 22816ed3f48b0a08a6d4e0cf0b0e14dabbb9ce69) --- qa/workunits/rbd/rbd_mirror_helpers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/workunits/rbd/rbd_mirror_helpers.sh b/qa/workunits/rbd/rbd_mirror_helpers.sh index 325353b91bc7..4891612dfc0f 100755 --- a/qa/workunits/rbd/rbd_mirror_helpers.sh +++ b/qa/workunits/rbd/rbd_mirror_helpers.sh @@ -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}'"' -- 2.47.3