Skip to content

Commit

Permalink
fix: cronjob cleanup array variable
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon committed Oct 26, 2023
1 parent f367c37 commit 15a19e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion legacy/build-deploy-docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1694,7 +1694,7 @@ MATCHED_CRONJOB=false
DELETE_CRONJOBS=()
# NATIVE_CRONJOB_CLEANUP_ARRAY is calculated in a prior step, when cronjobs are generated by the build-deploy-tool, this will need to be re-calculated using the tool
for SINGLE_NATIVE_CRONJOB in $CURRENT_CRONJOBS; do
for CLEANUP_NATIVE_CRONJOB in $NATIVE_CRONJOB_CLEANUP_ARRAY; do
for CLEANUP_NATIVE_CRONJOB in ${NATIVE_CRONJOB_CLEANUP_ARRAY[@]}; do
if [ "${SINGLE_NATIVE_CRONJOB}" == "${CLEANUP_NATIVE_CRONJOB}" ]; then
MATCHED_CRONJOB=true
continue
Expand Down

0 comments on commit 15a19e7

Please sign in to comment.