Fix update link error

pull/726/head
cruizba 2022-05-20 17:37:54 +02:00
parent bc1d1b7925
commit 75f4c6497f
1 changed files with 3 additions and 1 deletions

View File

@ -200,7 +200,9 @@ upgrade_ov() {
NEW_AMI_ID="${1:-}"
AWS_REGION=$(get_previous_env_variable AWS_DEFAULT_REGION)
if [[ -n ${AWS_REGION} ]]; then
[[ -z ${NEW_AMI_ID} ]] && fatal_error "You need to copy and specify an AMI Id for Media Nodes. Check https://docs.openvidu.io/en/${OPENVIDU_VERSION}/deployment/pro/upgrading/#option-2-update-current-deployment-to-${OPENVIDU_VERSION//.}"
OV_LINK_VERSION=${OPENVIDU_VERSION//.}
OV_LINK_VERSION=${OV_LINK_VERSION//v}
[[ -z ${NEW_AMI_ID} ]] && fatal_error "You need to copy and specify an AMI Id for Media Nodes. Check https://docs.openvidu.io/en/${OPENVIDU_VERSION//v}/deployment/pro/upgrading/#option-2-update-current-deployment-to-${OV_LINK_VERSION}"
fi
printf '\n'