Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
update rollback message for CNPG apps
Browse files Browse the repository at this point in the history
  • Loading branch information
Heavybullets8 committed Nov 6, 2023
1 parent 385199d commit bb53c21
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions functions/update/post_process.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ check_rollback_availability() {
fi
if printf '%s\0' "${apps_with_status[@]}" | grep -iFxqz "${app_name},cnpg"; then
echo_array+=("Error: $app_name contains a CNPG deployment, and cannot be rolled back")
echo_array+=("You can attempt a force rollback by shutting down the application with heavyscript")
echo_array+=("Then rolling back from the GUI")
echo_array+=("If this happens frequently, set a larger timeout, or set concurrency lower")
echo_array+=("If needed, you should have a backup of the database to restore from")
echo_array+=("The default database save location is in the HeavyScript directory")
return 1
fi
return 0
Expand Down

0 comments on commit bb53c21

Please sign in to comment.