Skip to content

Commit

Permalink
fix: remove deprecated es param when testing v8+
Browse files Browse the repository at this point in the history
Signed-off-by: KevinSchneider <kevin.schneider@target.com>
  • Loading branch information
kjschnei001 committed Jun 29, 2023
1 parent 3dc3f7f commit 93f3151
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/es-integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,13 @@ setup_es() {
--env "http.host=0.0.0.0"
--env "transport.host=127.0.0.1"
--env "xpack.security.enabled=false"
--env "xpack.monitoring.enabled=false"
)
local major_version=${tag%%.*}
if (( major_version < 8 )); then
params+=(
--env "xpack.monitoring.enabled=false"
)
fi
local cid=$(docker run ${params[@]} ${image}:${tag})
echo ${cid}
}
Expand Down

0 comments on commit 93f3151

Please sign in to comment.