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.
1 parent 413ed25 commit 3e40a03Copy full SHA for 3e40a03
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 16 ]; then
+ API_ENVIRONMENT=${API_ENVIRONMENT:0:3} # AETs have a max length of 16 chars.
70
fi
71
72
while IFS= read -r MACHINE_JSON; do
0 commit comments