mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Revert unintended changes to syskeygen from elastic/x-pack-elasticsearch#1831 (elastic/x-pack-elasticsearch#2055)
During the development of elastic/x-pack-elasticsearch#1831 (elastic/x-pack-elasticsearch@5ac95c6) there was an intention to replace `SystemKeyTool` with `EncKeyTool`. The java change was reverted and never committed to master, but the script change was accidentally left in place. Also removes redundant "properties" variable (refer `elastic/x-pack-elasticsearch@b0a3b89`) Original commit: elastic/x-pack-elasticsearch@f240479748
This commit is contained in:
parent
470e81ce64
commit
5056d4e3df
@ -12,7 +12,7 @@ declare -a args=("$@")
|
||||
args=("${args[@]}" --path.conf "$CONF_DIR")
|
||||
|
||||
cd "$ES_HOME" > /dev/null
|
||||
"$JAVA" $ES_JAVA_OPTS -Des.path.home="$ES_HOME" -cp "$ES_CLASSPATH" org.elasticsearch.common.settings.EncKeyTool $properties "${args[@]}"
|
||||
"$JAVA" $ES_JAVA_OPTS -Des.path.home="$ES_HOME" -cp "$ES_CLASSPATH" org.elasticsearch.xpack.security.crypto.tool.SystemKeyTool "${args[@]}"
|
||||
status=$?
|
||||
cd - > /dev/null
|
||||
exit $status
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user