From 777a54685e63ac41cce1ef669a04842ab8955c1e Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Fri, 26 Jul 2024 20:54:40 -0400 Subject: [PATCH] Fix typo Signed-off-by: Craig Perkins --- .../action/support/replication/TransportReplicationAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/opensearch/action/support/replication/TransportReplicationAction.java b/server/src/main/java/org/opensearch/action/support/replication/TransportReplicationAction.java index a0f6a5b601198..164e806d04306 100644 --- a/server/src/main/java/org/opensearch/action/support/replication/TransportReplicationAction.java +++ b/server/src/main/java/org/opensearch/action/support/replication/TransportReplicationAction.java @@ -244,7 +244,7 @@ protected TransportReplicationAction( if (threadPool != null) { this.tcWrapper = InternalThreadContextWrapper.from(threadPool.getThreadContext()); } else { - this.tcWrapper = InternalThreadContextWrapper.from(transportSeervice.threadPool.getThreadContext()); + this.tcWrapper = InternalThreadContextWrapper.from(transportService.getThreadPool().getThreadContext()); } this.transportService = transportService; this.clusterService = clusterService;