Skip to content

Commit

Permalink
Warn future developers not to pass headers to extensions
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied committed Sep 6, 2022
1 parent 5ffc131 commit e3f4352
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ public String executor() {
transportService.sendRequest(
discoveryExtension,
ExtensionsOrchestrator.REQUEST_REST_EXECUTE_ON_EXTENSION_ACTION,
// DO NOT INCLUDE HEADERS
// SEE https://github.com/opensearch-project/OpenSearch/issues/4429
new RestExecuteOnExtensionRequest(method, uri),
restExecuteOnExtensionResponseHandler
);
Expand Down

0 comments on commit e3f4352

Please sign in to comment.