From d07334bf1b1e3f88f761dec00686bc6c917edb02 Mon Sep 17 00:00:00 2001 From: Daniel Widdis Date: Fri, 3 Mar 2023 13:45:33 -0800 Subject: [PATCH] Typo Signed-off-by: Daniel Widdis --- src/main/java/org/opensearch/sdk/SDKClient.java | 2 +- .../sdk/sample/helloworld/TestHelloWorldExtension.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/opensearch/sdk/SDKClient.java b/src/main/java/org/opensearch/sdk/SDKClient.java index 51346f92..deaf2a4a 100644 --- a/src/main/java/org/opensearch/sdk/SDKClient.java +++ b/src/main/java/org/opensearch/sdk/SDKClient.java @@ -254,7 +254,7 @@ public final vo ActionListener listener ) { if (actions == null) { - throw new IllegalStateException("SDKClient was not initialized because the Extension does not implement ActionExtession."); + throw new IllegalStateException("SDKClient was not initialized because the Extension does not implement ActionExtension."); } @SuppressWarnings("unchecked") TransportAction transportAction = actions.get(action); diff --git a/src/test/java/org/opensearch/sdk/sample/helloworld/TestHelloWorldExtension.java b/src/test/java/org/opensearch/sdk/sample/helloworld/TestHelloWorldExtension.java index a4b884e5..968bef5a 100644 --- a/src/test/java/org/opensearch/sdk/sample/helloworld/TestHelloWorldExtension.java +++ b/src/test/java/org/opensearch/sdk/sample/helloworld/TestHelloWorldExtension.java @@ -260,6 +260,6 @@ public void onFailure(Exception e) { }) ); - assertEquals("SDKClient was not initialized because the Extension does not implement ActionExtession.", ex.getMessage()); + assertEquals("SDKClient was not initialized because the Extension does not implement ActionExtension.", ex.getMessage()); } }