Skip to content

Commit 15b50e2

Browse files
authored
Fix clean up image skipped images if there are child path (#36899)
1 parent dd3de10 commit 15b50e2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.test-infra/tools/stale_dataflow_prebuilt_image_cleaner.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,10 @@ while [ -n "$REPOSITORIES" ]; do
4545
if [ -n "$IMAGE_NAME" ]; then
4646
PENDING_REPOSITORIES+=$IMAGE_NAME
4747
PENDING_REPOSITORIES+=" "
48-
else
49-
echo IMAGES FOR REPO ${repository}
50-
IMAGE_NAMES+=$repository
51-
IMAGE_NAMES+=" "
5248
fi
49+
echo IMAGES FOR REPO ${repository}
50+
IMAGE_NAMES+=$repository
51+
IMAGE_NAMES+=" "
5352
done
5453
REPOSITORIES=("${PENDING_REPOSITORIES[@]}")
5554
done

0 commit comments

Comments
 (0)