From 1a280b9a320d51bdc4cb80be9bdd6ae265151132 Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Mon, 2 Mar 2026 12:07:48 +0100 Subject: [PATCH] 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 --- qa/workunits/rbd/rbd_mirror_helpers.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3