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