We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 413ed25 + 29a7e60 commit a6ae9cdCopy full SHA for a6ae9cd
1 file changed
scripts/bash/deploy_arc_ring.sh
@@ -64,9 +64,8 @@ declare -a RUN_CMD_NAMES=()
64
65
# API_ENVIRONMENT is used to set the AET and port for the MWL and PACS servers.
66
API_ENVIRONMENT=$(echo "$ENVIRONMENT" | tr '[:lower:]' '[:upper:]')
67
-
68
-if [[ "$API_ENVIRONMENT" == "PREPROD" ]]; then
69
- API_ENVIRONMENT="PRE"
+if [[ ${#API_ENVIRONMENT} -gt 4 ]]; then
+ API_ENVIRONMENT=${API_ENVIRONMENT:0:3} # Truncate REVIEW and PREPROD to 3 chars to fit within AET length limit
70
fi
71
72
while IFS= read -r MACHINE_JSON; do
0 commit comments