Skip to content

Commit

Permalink
Fixes 2 of 2 broken windows tests
Browse files Browse the repository at this point in the history
Signed-off-by: Darshit Chanpura <[email protected]>
  • Loading branch information
DarshitChanpura committed Dec 1, 2023
1 parent daad144 commit 92c0de3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public static void configureSecuritySettings() {
* Replaces the admin password in internal_users.yml with the custom or generated password
*/
static void updateAdminPassword() {
String initialAdminPassword = System.getenv("initialAdminPassword");
String initialAdminPassword = System.getenv().get("initialAdminPassword");
String ADMIN_PASSWORD_FILE_PATH = OPENSEARCH_CONF_DIR + "initialAdminPassword.txt";
String INTERNAL_USERS_FILE_PATH = OPENSEARCH_CONF_DIR + "opensearch-security" + File.separator + "internal_users.yml";
boolean shouldValidatePassword = environment.equals(ExecutionEnvironment.DEMO);
Expand Down

0 comments on commit 92c0de3

Please sign in to comment.