diff --git a/install_script_op_worker2.sh b/install_script_op_worker2.sh index 07836781..eed65878 100755 --- a/install_script_op_worker2.sh +++ b/install_script_op_worker2.sh @@ -100,6 +100,12 @@ Troubleshooting and basic usage information for the $nice_flavor are available a exit 1; fi + # Don't offer to send the install log and API key in a failure report on GovCloud + if [ "$site" == "ddog-gov.com" ]; then + fallback_msg + exit 1; + fi + while true; do read -t 60 -p "Do you want to send a failure report to Datadog (including $logfile)? (y/[n]) " -r yn || on_read_error case $yn in @@ -143,9 +149,8 @@ if [ -n "$DD_SITE" ]; then site="$DD_SITE" if [ "$site" == "ddog-gov.com" ]; then echo -e " - \033[33mWarning: Observability Pipelines isn't supported on GovCloud at this time. + \033[33mNote: Observability Pipelines on GovCloud is in Preview. \033[0m" - exit 1; fi fi