Skip to content

Commit

Permalink
Fixed the cleanup failure (#7007)
Browse files Browse the repository at this point in the history
If all the clusters are cleaned up then .clusters.swp
file is not created and it gives an error that file
not present.

Signed-off-by: Pulkit Jain <pulkit.jain@broadcom.com>
  • Loading branch information
jainpulkit22 authored Feb 20, 2025
1 parent cb63c72 commit 67be1ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci/kind/kind-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@ function clean_kind {
flock -x 200

current_timestamp=$(date +%s)
touch ~/.antrea/.clusters.swp
while IFS=' ' read -r name creationTimestamp; do
if [[ -z "$name" || -z "$creationTimestamp" ]]; then
continue
Expand Down

0 comments on commit 67be1ef

Please sign in to comment.