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 e2984efCopy full SHA for e2984ef
1 file changed
scripts/bash/deploy_arc_ring.sh
@@ -64,10 +64,7 @@ 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"
70
-fi
+API_ENVIRONMENT=${API_ENVIRONMENT:0:3} # AETs have a max length of 16 chars.
71
72
while IFS= read -r MACHINE_JSON; do
73
MACHINE=$(echo "$MACHINE_JSON" | jq -r '.name')
0 commit comments