File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -860,15 +860,16 @@ check_existing_proxy_host() {
860860 EXISTING_HOST=$( echo " $RESPONSE " | jq -r --arg DOMAIN " $DOMAIN_NAMES " ' .[] | select(.domain_names[] == $DOMAIN)' )
861861
862862 if [ -n " $EXISTING_HOST " ]; then
863- echo -e " \n 🔔 Proxy host for $DOMAIN_NAMES already exists.${COLOR_GREEN} "
864- read -p " 👉 Do you want to update it with the new configuration? (y/n): " -r
865- if [[ $REPLY =~ ^[Yy]$ ]]; then
863+ echo -e " \n 🔔 Proxy host for $DOMAIN_NAMES already exists. \n Updating Configuration... ${COLOR_GREEN} "
864+ # Comment out prompt for automation purposes
865+ # read -p " 👉 Do you want to update it with the new configuration? (y/n): " -r
866+ # if [[ $REPLY =~ ^[Yy]$ ]]; then
866867 HOST_ID=$( echo " $EXISTING_HOST " | jq -r ' .id' )
867868 update_proxy_host " $HOST_ID "
868- else
869- echo -e " ${COLOR_RESET} No changes made.\n"
870- exit 0
871- fi
869+ # else
870+ # echo -e "${COLOR_RESET} No changes made.\n"
871+ # exit 0
872+ # fi
872873 else
873874 create_new_proxy_host
874875 fi
You can’t perform that action at this time.
0 commit comments