Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions scripts/bash/deploy_arc_ring.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,8 @@ declare -a RUN_CMD_NAMES=()

# API_ENVIRONMENT is used to set the AET and port for the MWL and PACS servers.
API_ENVIRONMENT=$(echo "$ENVIRONMENT" | tr '[:lower:]' '[:upper:]')

if [[ "$API_ENVIRONMENT" == "PREPROD" ]]; then
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
Comment thread
steventux marked this conversation as resolved.
fi

while IFS= read -r MACHINE_JSON; do
Expand Down
Loading