From 2d034bfab67f29dcde8914eaecd299f9d2e69044 Mon Sep 17 00:00:00 2001 From: zhaohao1004 Date: Fri, 24 Apr 2026 16:14:54 +0800 Subject: [PATCH] fix: handle missing reset named volumes --- .github/scripts/reset-test-env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/reset-test-env.sh b/.github/scripts/reset-test-env.sh index d9fc9af721..bec2bc1657 100755 --- a/.github/scripts/reset-test-env.sh +++ b/.github/scripts/reset-test-env.sh @@ -350,7 +350,7 @@ volume_exists() { append_unique_volume() { local candidate="$1" local existing - [ -n "$candidate" ] || return + [ -n "$candidate" ] || return 0 for existing in "${RESOLVED_VOLUME_NAMES[@]}"; do if [ "$existing" = "$candidate" ]; then