Skip to content

Conversation

@stevejgordon
Copy link
Contributor

@stevejgordon stevejgordon commented Feb 23, 2021

This supports conditionally using the preferred ES_JAVA_HOME environment variable when the cluster version is 7.12.0 or higher. This also fixes an issue where the adduser command fails when using XPack on 7.12.0 or higher. When running on 7.12.0, a deprecation warning is printed to stdout which incorrectly triggered an exception in our code. I have specifically excluded this warning from triggering an error, although it should no longer appear since we'll use the most appropriate env var name.

I also fixed a couple of typos when I spotted them. 😄

Copy link
Member

@Mpdreamz Mpdreamz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@stevejgordon stevejgordon merged commit 573c2e9 into master Feb 23, 2021
@Mpdreamz Mpdreamz deleted the java-home-update branch February 23, 2021 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants