Skip to content

Commit

Permalink
Remove unused imports in SSLSecuritySettings, remove OPENDISTRO_ pref…
Browse files Browse the repository at this point in the history
…ix in InitializationIntegrationTests
  • Loading branch information
Andy Lin committed May 24, 2021
1 parent f31646a commit 2e5034d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@

package org.opensearch.security.ssl.util;

import io.netty.util.internal.PlatformDependent;
import org.opensearch.common.Booleans;
import org.opensearch.common.settings.Setting;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.function.Function;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public void testInvalidDefaultConfig() throws Exception {
try {
System.setProperty("security.default_init.dir", new File("./src/test/resources/invalid_config").getAbsolutePath());
final Settings settings = Settings.builder()
.put(ConfigConstants.OPENDISTRO_SECURITY_ALLOW_DEFAULT_INIT_SECURITYINDEX, true)
.put(ConfigConstants.SECURITY_ALLOW_DEFAULT_INIT_SECURITYINDEX, true)
.build();
setup(Settings.EMPTY, null, settings, false);
RestHelper rh = nonSslRestHelper();
Expand Down

0 comments on commit 2e5034d

Please sign in to comment.