Skip to content

Commit

Permalink
temporarily map es to opensearch for init/rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
k-rister committed Jan 30, 2024
1 parent f2362fc commit 02e1802
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/_main
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ elif [ "${1}" == "extract" ]; then
EXIT_VAL=1
;;
esac
elif [ "${1}" == "opensearch" ]; then
elif [ "${1}" == "opensearch" -o "${1}" == "es" ]; then
shift
if start_opensearch; then
if [ "${1}" == "init" ]; then
Expand Down Expand Up @@ -550,7 +550,7 @@ elif [ "${1}" == "unarchive" ]; then
elif [ "${1}" == "reset" ]; then
shift

echo "Initializing ES "
echo "Initializing OpenSearch "
if start_opensearch; then
reinit_opensearch
RC=$?
Expand Down

0 comments on commit 02e1802

Please sign in to comment.