From: Ilya Dryomov Date: Mon, 2 Mar 2026 11:07:48 +0000 (+0100) Subject: qa/workunits/rbd: fix unbound variable in status() X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4d5085104954d0dae65132e5edd34b79afdf7b2e;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 (cherry picked from commit 1a280b9a320d51bdc4cb80be9bdd6ae265151132) --- diff --git a/qa/workunits/rbd/rbd_mirror_helpers.sh b/qa/workunits/rbd/rbd_mirror_helpers.sh index 6dabcf07bafc..58e6b358ed99 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