Skip to content

Commit

Permalink
Move comment
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <dxho@amazon.com>
  • Loading branch information
derek-ho committed Oct 8, 2024
1 parent f10603a commit 0471b78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ void checkIfSecurityPluginIsAlreadyConfigured() {
try (BufferedReader br = new BufferedReader(new FileReader(installer.OPENSEARCH_CONF_FILE, StandardCharsets.UTF_8))) {
Yaml yaml = new Yaml();
Map<String, Object> yamlData = yaml.load(br);
// Check for flat keys
if (yamlData != null) {
// Check for flat keys
for (String key : yamlData.keySet()) {
if (key.startsWith("plugins.security")) {
System.out.println(installer.OPENSEARCH_CONF_FILE + " seems to be already configured for Security. Quit.");
Expand Down

0 comments on commit 0471b78

Please sign in to comment.