From 12786434a51944c2f7a127dfdc51c3f3f12f8e43 Mon Sep 17 00:00:00 2001 From: Jeremy Dahlgren Date: Wed, 2 Jul 2025 15:53:06 -0400 Subject: [PATCH] Replace '_remote_access' with REMOTE_CLUSTER_PROFILE in comment There isn't a '_remote_access' profile, it looks like the author meant to write '_remote_cluster'. This commit changes it to REMOTE_CLUSTER_PROFILE to match the code below and avoid confusing the reader with a profile name that doesn't exist. --- .../org/elasticsearch/transport/RemoteClusterPortSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/elasticsearch/transport/RemoteClusterPortSettings.java b/server/src/main/java/org/elasticsearch/transport/RemoteClusterPortSettings.java index ee32ec756aeaa..d4a1be2f5713c 100644 --- a/server/src/main/java/org/elasticsearch/transport/RemoteClusterPortSettings.java +++ b/server/src/main/java/org/elasticsearch/transport/RemoteClusterPortSettings.java @@ -158,7 +158,7 @@ static void validateRemoteAccessSettings(Settings settings) { public static TcpTransport.ProfileSettings buildRemoteAccessProfileSettings(Settings settings) { validateRemoteAccessSettings(settings); - // Build a synthetic settings object with the `_remote_access` profile properly configured per the friendlier settings, + // Build a synthetic settings object with the REMOTE_CLUSTER_PROFILE properly configured per the friendlier settings, Settings syntheticRemoteAccessProfile = Settings.builder() .put(settings) .put(TCP_KEEP_ALIVE_PROFILE.getConcreteSettingForNamespace(REMOTE_CLUSTER_PROFILE).getKey(), TCP_KEEP_ALIVE.get(settings))