Skip to content

Commit

Permalink
Improve messaging so that users know how to set their initial admin p…
Browse files Browse the repository at this point in the history
…assword

Signed-off-by: Derek Ho <[email protected]>
  • Loading branch information
derek-ho committed Dec 20, 2023
1 parent cc57710 commit 1b5ae65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ void updateAdminPassword() {

// if ADMIN_PASSWORD is still an empty string, it implies no custom password was provided. We exit the setup.
if (Strings.isNullOrEmpty(ADMIN_PASSWORD)) {
System.out.println("No custom admin password found. Please provide a password.");
System.out.println("No custom admin password found. Please provide a password via the environment variable OPENSEARCH_INITIAL_ADMIN_PASSWORD.");
System.exit(-1);
}

Expand Down

0 comments on commit 1b5ae65

Please sign in to comment.