Skip to content

Commit

Permalink
Fixed minor errors
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Bogan <rbogan@amazon.com>
  • Loading branch information
ryanbogan committed Jun 24, 2022
1 parent d187841 commit b169ec6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@

package org.opensearch.extensions;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.nio.file.Files;
import java.nio.file.Path;
Expand Down Expand Up @@ -132,7 +130,7 @@ private void extensionsDiscovery() throws IOException {
Version.fromString(extension.getVersion()),
pluginInfo
)
);
);
logger.debug("Loaded extension: " + extension);
break;
} catch (IllegalArgumentException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public void testExtensionsInitialize() throws Exception {
orchestrator.setTransportService(transportService);

try (MockLogAppender mockLogAppender = MockLogAppender.createForLoggers(LogManager.getLogger(ExtensionsOrchestrator.class))) {

mockLogAppender.addExpectation(
new MockLogAppender.SeenEventExpectation(
"Transport Connect Exception 2",
Expand Down

0 comments on commit b169ec6

Please sign in to comment.