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=292e42e352c3b1c91d55faa3627bd0187c940e6f;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 bf89ba04ab25..bac2f004046f 100755 --- a/qa/workunits/rbd/rbd_mirror_helpers.sh +++ b/qa/workunits/rbd/rbd_mirror_helpers.sh @@ -518,7 +518,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 @@ -593,7 +593,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