Skip to content

Commit

Permalink
Change variable ref
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <dxho@amazon.com>
  • Loading branch information
derek-ho committed Dec 29, 2023
1 parent 9efa6b6 commit 5c93154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/run-opensearch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ END
if [[ "$i" == "$((NUMBER_OF_NODES-1))" ]]; then local_detach=$DETACH; fi

password="admin"
IFS='.' read -ra version_array <<< "$VERSION"
IFS='.' read -ra version_array <<< "$OPENSEARCH_VERSION"

# Starting in 2.12.0, security demo configuration script requires an initial admin password
if (( ${version_array[0]} > 2 || (${version_array[0]} == 2 && ${version_array[1]} >= 12) )); then
Expand Down

0 comments on commit 5c93154

Please sign in to comment.