Skip to content

Commit 6c3d985

Browse files
committed
Allow some CCS settings to be ProjectScope
1 parent 328fed8 commit 6c3d985

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public class SniffConnectionStrategy extends RemoteConnectionStrategy {
6969
// validate seed address
7070
parsePort(s);
7171
return s;
72-
}, new StrategyValidator<>(ns, key, ConnectionStrategy.SNIFF), Setting.Property.Dynamic, Setting.Property.NodeScope)
72+
}, new StrategyValidator<>(ns, key, ConnectionStrategy.SNIFF), Setting.Property.Dynamic, Setting.Property.NodeScope, Setting.Property.ProjectScope)
7373
);
7474

7575
/**
@@ -85,7 +85,7 @@ public class SniffConnectionStrategy extends RemoteConnectionStrategy {
8585
if (Strings.hasLength(s)) {
8686
parsePort(s);
8787
}
88-
}), Setting.Property.Dynamic, Setting.Property.NodeScope),
88+
}), Setting.Property.Dynamic, Setting.Property.NodeScope, Setting.Property.ProjectScope),
8989
() -> REMOTE_CLUSTER_SEEDS
9090
);
9191

0 commit comments

Comments
 (0)