mirror of
https://github.com/overleaf/toolkit.git
synced 2025-04-19 07:18:06 +02:00
Refactored continue prompt
Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
This commit is contained in:
parent
624af84035
commit
e6e45a1509
1 changed files with 1 additions and 6 deletions
|
@ -169,12 +169,7 @@ function handle_image_upgrade() {
|
|||
echo " If you try subsequently to restart your instance it will fail until the updated image with"
|
||||
echo " tag $SEED_IMAGE_VERSION is available in your system"
|
||||
echo "------------------- WARNING ----------------------"
|
||||
local should_continue="n"
|
||||
read -r -p "Continue with the upgrade process? [y/n] " should_continue
|
||||
if [[ ! "$should_continue" =~ [Yy] ]]; then
|
||||
echo "Exiting."
|
||||
exit 1
|
||||
fi
|
||||
prompt "Continue with the upgrade process?"
|
||||
else
|
||||
set_git_bridge_image_name "$SEED_IMAGE_VERSION"
|
||||
docker pull "$GIT_BRIDGE_IMAGE"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue