Skip to content

Commit d660135

Browse files
CR: Reformat
1 parent 774fe5e commit d660135

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

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

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,19 @@ public abstract class RemoteClusterAware extends AbstractComponent {
4949
/**
5050
* A list of initial seed nodes to discover eligible nodes from the remote cluster
5151
*/
52-
public static final Setting.AffixSetting<List<String>> REMOTE_CLUSTERS_SEEDS = Setting.affixKeySetting("search.remote.",
53-
"seeds", (key) -> Setting.listSetting(key, Collections.emptyList(), s -> {
54-
// validate seed address
55-
RemoteClusterAware.parseSeedAddress(s);
56-
return s;
52+
public static final Setting.AffixSetting<List<String>> REMOTE_CLUSTERS_SEEDS = Setting.affixKeySetting(
53+
"search.remote.",
54+
"seeds",
55+
key -> Setting.listSetting(
56+
key, Collections.emptyList(),
57+
s -> {
58+
// validate seed address
59+
RemoteClusterAware.parseSeedAddress(s);
60+
return s;
5761
},
58-
Setting.Property.NodeScope, Setting.Property.Dynamic));
62+
Setting.Property.NodeScope, Setting.Property.Dynamic
63+
)
64+
);
5965
public static final char REMOTE_CLUSTER_INDEX_SEPARATOR = ':';
6066
public static final String LOCAL_CLUSTER_GROUP_KEY = "";
6167

0 commit comments

Comments
 (0)