Skip to content

Commit

Permalink
Remove preserve file befroe calling prune_nodes (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
jadhaj authored Nov 7, 2024
1 parent 74a6367 commit f9fae8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions images/fcos-bastion-image/root/usr/bin/clean-up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ do
echo "<3>$cluster to continue being preserved, skipping..." && continue
[ "${enddate}" -le "${nowdate}" ] && \
echo "<3>$cluster no longer to be preserved"
rm -f "$cluster_folder/preserve"
fi
echo "<3>$cluster is more than 24 hours old and not preserved, starting the pruning...."
prune_nodes "$cluster"
Expand Down

0 comments on commit f9fae8b

Please sign in to comment.