Merge pull request #10295 from GabyCT/topic/removeimgvar

metrics: Remove unused remove img var in common script
This commit is contained in:
GabyCT
2024-09-11 15:02:39 -07:00
committed by GitHub

View File

@@ -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