From fdaf12d16cddc92ea832ec25fe8dec855aeab078 Mon Sep 17 00:00:00 2001 From: Gabriela Cervantes Date: Wed, 11 Sep 2024 17:45:18 +0000 Subject: [PATCH] metrics: Remove unused remove img var in common script This PR removes the remove_img variable in the metrics common script as it is not being used. Signed-off-by: Gabriela Cervantes --- tests/metrics/lib/common.bash | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/metrics/lib/common.bash b/tests/metrics/lib/common.bash index 05a0fcef08..b5c58e9588 100755 --- a/tests/metrics/lib/common.bash +++ b/tests/metrics/lib/common.bash @@ -526,7 +526,6 @@ function get_kata_memory_and_vcpus() { local busybox_img="quay.io/prometheus/busybox:latest" local container_name="kata-busybox_${RANDOM}" local PAYLOAD_ARGS="tail -f /dev/null" - local remove_img=1 IMG_EXIST="$(sudo ctr i list | grep -c $busybox_img)" || true