From: Jason Dillaman Date: Tue, 3 Oct 2017 17:25:33 +0000 (-0400) Subject: qa/workunits/rbd: fixed variable name for resync image id X-Git-Tag: v13.0.1~684^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F18097%2Fhead;p=ceph.git qa/workunits/rbd: fixed variable name for resync image id Fixes: http://tracker.ceph.com/issues/21663 Signed-off-by: Jason Dillaman --- diff --git a/qa/workunits/rbd/rbd_mirror_helpers.sh b/qa/workunits/rbd/rbd_mirror_helpers.sh index 39db271e03f..1e086eee322 100755 --- a/qa/workunits/rbd/rbd_mirror_helpers.sh +++ b/qa/workunits/rbd/rbd_mirror_helpers.sh @@ -880,7 +880,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}'"'