Skip to content

Commit 0c43ea3

Browse files
committed
Fix up comments and remove debug logging
Signed-off-by: Daniel Widdis <widdis@gmail.com>
1 parent 8b2f179 commit 0c43ea3

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

server/src/main/java/org/opensearch/extensions/action/ExtensionTransportAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import org.opensearch.tasks.TaskManager;
1717

1818
/**
19-
* A proxy transport action used to proxy a transport request from OpenSearch or a plugin to execute on an extension
19+
* A proxy transport action used to proxy a transport request from an extension to execute on another extension
2020
*
2121
* @opensearch.internal
2222
*/

server/src/main/java/org/opensearch/extensions/action/ExtensionTransportActionsHandler.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ public DiscoveryExtensionNode getExtension(String action) {
9696
if (uniqueId == null) {
9797
throw new ActionNotFoundTransportException(action);
9898
}
99-
logger.info("Got extension: " + extensionIdMap.get(uniqueId));
10099
return extensionIdMap.get(uniqueId);
101100
}
102101

@@ -107,10 +106,8 @@ public DiscoveryExtensionNode getExtension(String action) {
107106
* @return A {@link AcknowledgedResponse} indicating success.
108107
*/
109108
public TransportResponse handleRegisterTransportActionsRequest(RegisterTransportActionsRequest transportActionsRequest) {
110-
logger.debug("Register Transport Actions request recieved {}", transportActionsRequest);
111109
try {
112110
for (String action : transportActionsRequest.getTransportActions()) {
113-
logger.info("Registering action " + action + " with id " + transportActionsRequest.getUniqueId());
114111
registerAction(action, transportActionsRequest.getUniqueId());
115112
}
116113
} catch (Exception e) {

0 commit comments

Comments
 (0)