mirror of https://github.com/OpenVidu/openvidu.git
Fix update link error
parent
bc1d1b7925
commit
75f4c6497f
|
@ -200,7 +200,9 @@ upgrade_ov() {
|
||||||
NEW_AMI_ID="${1:-}"
|
NEW_AMI_ID="${1:-}"
|
||||||
AWS_REGION=$(get_previous_env_variable AWS_DEFAULT_REGION)
|
AWS_REGION=$(get_previous_env_variable AWS_DEFAULT_REGION)
|
||||||
if [[ -n ${AWS_REGION} ]]; then
|
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
|
fi
|
||||||
|
|
||||||
printf '\n'
|
printf '\n'
|
||||||
|
|
Loading…
Reference in New Issue