Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Widdis <widdis@gmail.com>
  • Loading branch information
dbwiddis committed Mar 3, 2023
1 parent 71822eb commit d07334b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/opensearch/sdk/SDKClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public final <Request extends ActionRequest, Response extends ActionResponse> vo
ActionListener<Response> 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<Request, Response> transportAction = actions.get(action);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

0 comments on commit d07334b

Please sign in to comment.