Skip to content

Discovery endpoint is overwritten when withEndpoint() called multiple times #173

@vrogach2020

Description

@vrogach2020

See TarantoolClusterDiscoveryConfig.Builder#withEndpoint.
If this method is called twice it will overwrite previous endpoint setting.
That leads to incorrect configuration that is not checked in runtime.

Now the it's impossible to specify more that 1 endpoint.
We need to throw an exception or to support multiple endpoints in config.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions