From: Ilya Dryomov Date: Mon, 2 Mar 2026 11:07:48 +0000 (+0100) Subject: qa/workunits/rbd: fix unbound variable in status() X-Git-Tag: v21.0.0~147^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F67629%2Fhead;p=ceph.git qa/workunits/rbd: fix unbound variable in status() It was missed in commit 5fe64fa806f3 ("qa: rbd_mirror.sh: change parameters to cluster rather than daemon name"). Signed-off-by: Ilya Dryomov --- diff --git a/qa/workunits/rbd/rbd_mirror_helpers.sh b/qa/workunits/rbd/rbd_mirror_helpers.sh index f5d7fe92624..324b0877655 100755 --- a/qa/workunits/rbd/rbd_mirror_helpers.sh +++ b/qa/workunits/rbd/rbd_mirror_helpers.sh @@ -509,7 +509,7 @@ all_admin_daemons() status() { - local cluster daemon image_pool image_ns image + local cluster image_pool image_ns image for cluster in ${CLUSTER1} ${CLUSTER2} do @@ -584,7 +584,7 @@ status() continue fi - echo "${daemon} rbd-mirror process in ps output:" + echo "${cluster} rbd-mirror process in ps output:" if ps auxww | awk -v pid=${pid} 'NR == 1 {print} $2 == pid {print; exit 1}' then