Skip to content

Commit 0a86d8d

Browse files
committed
revert version var name change
1 parent 969af4d commit 0a86d8d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

additionaldocs/sagemaker/install-graph-explorer-lc.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,14 @@ ECR_TOKEN=$(curl -k https://public.ecr.aws/token/ | jq -r '.token')
129129
LATEST_ECR_RELEASE=$(curl -k -H "Authorization: Bearer $ECR_TOKEN" https://public.ecr.aws/v2/neptune/graph-explorer/tags/list | jq -r '.tags | sort_by(split(".") | try map(tonumber) catch [0,0,0])[-1]')
130130
131131
echo "Pulling and starting graph-explorer..."
132-
if [[ ${GRAPH_EXPLORER_VERSION} == "" ]]; then
132+
if [[ ${EXPLORER_VERSION} == "" ]]; then
133133
EXPLORER_ECR_TAG=sagemaker-${LATEST_ECR_RELEASE}
134134
else
135-
if [[ ${GRAPH_EXPLORER_VERSION//./} -ge 140 ]]; then
136-
EXPLORER_ECR_TAG=sagemaker-${GRAPH_EXPLORER_VERSION}
137-
elif [[ ${GRAPH_EXPLORER_VERSION} == *latest* ]]; then
135+
if [[ ${EXPLORER_VERSION//./} -ge 140 ]]; then
136+
EXPLORER_ECR_TAG=sagemaker-${EXPLORER_VERSION}
137+
elif [[ ${EXPLORER_VERSION} == *latest* ]]; then
138138
EXPLORER_ECR_TAG=sagemaker-latest-SNAPSHOT
139-
elif [[ ${GRAPH_EXPLORER_VERSION} == *dev* ]]; then
139+
elif [[ ${EXPLORER_VERSION} == *dev* ]]; then
140140
EXPLORER_ECR_TAG=sagemaker-dev
141141
else
142142
echo "Specified Graph Explorer version does not support use on SageMaker. Defaulting to latest release."

0 commit comments

Comments
 (0)