OpenSearch/plugins/discovery-gce/src
David Turner 4c909e93bb
Reject port ranges in `discovery.seed_hosts` (#41905)
Today Elasticsearch accepts, but silently ignores, port ranges in the
`discovery.seed_hosts` setting:

```
discovery.seed_hosts: 10.1.2.3:9300-9400
```

Silently ignoring part of a setting like this is trappy. With this change we
reject seed host addresses of this form.

Closes #40786
Backport of #41404
2019-05-08 08:34:32 +01:00
..
main Reject port ranges in `discovery.seed_hosts` (#41905) 2019-05-08 08:34:32 +01:00
test Align docs etc with new discovery setting names (#38492) 2019-02-06 11:34:38 +00:00