Skip to content

Commit e07f9fe

Browse files
Replace '_remote_access' with REMOTE_CLUSTER_PROFILE in comment (#130489)
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.
1 parent 912a86d commit e07f9fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/transport/RemoteClusterPortSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ static void validateRemoteAccessSettings(Settings settings) {
158158
public static TcpTransport.ProfileSettings buildRemoteAccessProfileSettings(Settings settings) {
159159
validateRemoteAccessSettings(settings);
160160

161-
// Build a synthetic settings object with the `_remote_access` profile properly configured per the friendlier settings,
161+
// Build a synthetic settings object with the REMOTE_CLUSTER_PROFILE properly configured per the friendlier settings,
162162
Settings syntheticRemoteAccessProfile = Settings.builder()
163163
.put(settings)
164164
.put(TCP_KEEP_ALIVE_PROFILE.getConcreteSettingForNamespace(REMOTE_CLUSTER_PROFILE).getKey(), TCP_KEEP_ALIVE.get(settings))

0 commit comments

Comments
 (0)